This is an automated email from the ASF dual-hosted git repository.

cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git


The following commit(s) were added to refs/heads/develop by this push:
     new 14b81641fb chore: Disabled quite often randomly failing tests in go.
14b81641fb is described below

commit 14b81641fbf7f00307120e7755497b0a8af5e5af
Author: Christofer Dutz <cd...@apache.org>
AuthorDate: Mon May 6 11:10:51 2024 +0200

    chore: Disabled quite often randomly failing tests in go.
---
 plc4go/spi/default/DefaultCodec_test.go | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/plc4go/spi/default/DefaultCodec_test.go 
b/plc4go/spi/default/DefaultCodec_test.go
index 46a65beef1..46f3528bec 100644
--- a/plc4go/spi/default/DefaultCodec_test.go
+++ b/plc4go/spi/default/DefaultCodec_test.go
@@ -22,6 +22,7 @@ package _default
 import (
        "context"
        "fmt"
+       "os"
        "sync/atomic"
        "testing"
        "time"
@@ -1091,6 +1092,9 @@ func Test_defaultCodec_TimeoutExpectations(t *testing.T) {
 }
 
 func Test_defaultCodec_Work(t *testing.T) {
+       if os.Getenv("ENABLE_RANDOMLY_FAILING_TESTS") != "" {
+               t.Skip("Skipping randomly failing tests")
+       }
        type fields struct {
                DefaultCodecRequirements      DefaultCodecRequirements
                transportInstance             transports.TransportInstance

Reply via email to