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:
@@ -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")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user