We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f342034 commit e49ee72Copy full SHA for e49ee72
modules/globallock/locker_test.go
@@ -32,7 +32,7 @@ func TestLocker(t *testing.T) {
32
// Avoid data race.
33
// The startExtend goroutine may still be running and reading redisLockExpiry.
34
// Wait for a while since it will be stopped soon after Close is called.
35
- time.Sleep(time.Second)
+ time.Sleep(5 * time.Second)
36
37
redisLockExpiry = oldExpiry
38
}()
0 commit comments