From 76e8fdc21b53d5f748f32c8a5af18a17163c13c8 Mon Sep 17 00:00:00 2001 From: Alexander Yastrebov Date: Tue, 1 Aug 2023 12:01:49 +0200 Subject: [PATCH] Move net/redistest skip deadline (#2491) Followup on #2458 Signed-off-by: Alexander Yastrebov --- net/redistest/redistest.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/redistest/redistest.go b/net/redistest/redistest.go index 7b3941737f..dbdbbfde4a 100644 --- a/net/redistest/redistest.go +++ b/net/redistest/redistest.go @@ -15,8 +15,9 @@ func NewTestRedis(t testing.TB) (address string, done func()) { } func NewTestRedisWithPassword(t testing.TB, password string) (address string, done func()) { + const dateFormat = "2006-01-02" - if fixDeadline, _ := time.Parse("2006-01-02", "2023-08-01"); time.Now().Before(fixDeadline) { + if fixDeadline, _ := time.Parse(dateFormat, "2023-08-08"); time.Now().Before(fixDeadline) { t.Skip("https://github.com/testcontainers/testcontainers-go/issues/1359") }