Skip to content

Commit e5ac27c

Browse files
committed
tapgarden: increase default timeout without extending test runtime
This change raises the default timeout value, which may help address a flaky CI issue where assertNumCaretakersActive occasionally times out. The update does not affect the overall runtime of unit tests.
1 parent dbe3eff commit e5ac27c

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 * 5
49+
defaultTimeout = time.Second * 10
5050
noCaretakerStates = fn.NewSet(
5151
tapgarden.BatchStatePending,
5252
tapgarden.BatchStateSeedlingCancelled,

0 commit comments

Comments
 (0)