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 53870f1 commit 42e4f06Copy full SHA for 42e4f06
common/signal/timer_test.go
@@ -14,7 +14,7 @@ func TestActivityTimer(t *testing.T) {
14
assert := With(t)
15
16
ctx, cancel := context.WithCancel(context.Background())
17
- timer := CancelAfterInactivity(ctx, cancel, time.Second*5)
+ timer := CancelAfterInactivity(ctx, cancel, time.Second*4)
18
time.Sleep(time.Second * 6)
19
assert(ctx.Err(), IsNotNil)
20
runtime.KeepAlive(timer)
0 commit comments