Skip to content

Commit d1ba1f4

Browse files
committed
tapgarden: increase unit test default timeout from 10s to 30s
The `unit-race` CI job frequently flakes due to test timeouts. Raising the default timeout to 30s should help reduce these flakes without noticeably slowing down the unit tests.
1 parent 1660f9c commit d1ba1f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tapgarden/planter_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ import (
4646
// Default to a large interval so the planter never actually ticks and only
4747
// rely on our manual ticks.
4848
var (
49-
defaultTimeout = time.Second * 10
49+
defaultTimeout = time.Second * 30
5050
noCaretakerStates = fn.NewSet(
5151
tapgarden.BatchStatePending,
5252
tapgarden.BatchStateSeedlingCancelled,

0 commit comments

Comments
 (0)