Skip to content

Commit 993eb13

Browse files
authored
test: fixed flaky async test (#55)
Signed-off-by: Frederic BIDON <[email protected]>
1 parent 3344ecd commit 993eb13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/assertions/condition_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ func TestConditionEventuallyTimeout(t *testing.T) {
8686
mock := new(errorsCapturingT)
8787
// A condition function that returns after the Eventually timeout
8888
condition := func() bool {
89-
time.Sleep(5 * time.Millisecond)
89+
time.Sleep(100 * time.Millisecond)
9090
return true
9191
}
9292

0 commit comments

Comments
 (0)