From 51c5eb7deb8e1749136d7a1f7aa898306480bdde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20de=20la=20Pe=C3=B1a?= Date: Fri, 24 Nov 2023 08:02:16 +0100 Subject: [PATCH] chore: skip TestContainerLogWithErrClosed as flaky on rootless docker --- logconsumer_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/logconsumer_test.go b/logconsumer_test.go index cbe5c520c8..c77f2602f8 100644 --- a/logconsumer_test.go +++ b/logconsumer_test.go @@ -6,6 +6,7 @@ import ( "fmt" "io" "net/http" + "os" "strings" "testing" "time" @@ -290,6 +291,10 @@ func Test_StartStop(t *testing.T) { } func TestContainerLogWithErrClosed(t *testing.T) { + if os.Getenv("XDG_RUNTIME_DIR") != "" { + t.Skip("Skipping as flaky on GitHub Actions, Please see https://github.com/testcontainers/testcontainers-go/issues/1924") + } + t.Cleanup(func() { config.Reset() })