From 7f36fca76935cad5838026a080fc06bac14b0ae0 Mon Sep 17 00:00:00 2001 From: Alexander Yastrebov Date: Sun, 16 Jul 2023 01:10:00 +0200 Subject: [PATCH] Temporary skip tests using net/redistest (#2458) Redis testcontainer fails to start due to https://github.com/testcontainers/testcontainers-go/issues/1359 caused by https://github.com/golang/go/issues/61076 and we can not pin cdp-runtime/go to a working patch version before 1.20.6 Signed-off-by: Alexander Yastrebov --- net/redistest/redistest.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/net/redistest/redistest.go b/net/redistest/redistest.go index 8ca22cfb85..7b3941737f 100644 --- a/net/redistest/redistest.go +++ b/net/redistest/redistest.go @@ -15,6 +15,11 @@ func NewTestRedis(t testing.TB) (address string, done func()) { } func NewTestRedisWithPassword(t testing.TB, password string) (address string, done func()) { + + if fixDeadline, _ := time.Parse("2006-01-02", "2023-08-01"); time.Now().Before(fixDeadline) { + t.Skip("https://github.com/testcontainers/testcontainers-go/issues/1359") + } + var args []string if password != "" { args = append(args, "--requirepass", password)