Skip to content

Commit 42e4f06

Browse files
committed
fix flaky test
1 parent 53870f1 commit 42e4f06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/signal/timer_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ func TestActivityTimer(t *testing.T) {
1414
assert := With(t)
1515

1616
ctx, cancel := context.WithCancel(context.Background())
17-
timer := CancelAfterInactivity(ctx, cancel, time.Second*5)
17+
timer := CancelAfterInactivity(ctx, cancel, time.Second*4)
1818
time.Sleep(time.Second * 6)
1919
assert(ctx.Err(), IsNotNil)
2020
runtime.KeepAlive(timer)

0 commit comments

Comments
 (0)