Skip to content

Commit

Permalink
Move net/redistest skip deadline (#2491)
Browse files Browse the repository at this point in the history
Followup on #2458

Signed-off-by: Alexander Yastrebov <[email protected]>
  • Loading branch information
AlexanderYastrebov authored Aug 1, 2023
1 parent 78aabb5 commit 76e8fdc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion net/redistest/redistest.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}

Expand Down

0 comments on commit 76e8fdc

Please sign in to comment.