1
0
mirror of https://github.com/redis/go-redis.git synced 2025-12-02 06:22:31 +03:00

flaky test

This commit is contained in:
Nedyalko Dyakov
2025-10-30 18:48:33 +02:00
parent 5f0b58ba14
commit d207749af5
4 changed files with 9 additions and 7 deletions

View File

@@ -174,7 +174,7 @@ func TestConnectionHook(t *testing.T) {
select {
case <-initConnCalled:
// Good, initialization was called
case <-time.After(1 * time.Second):
case <-time.After(5 * time.Second):
t.Fatal("Timeout waiting for initialization function to be called")
}