Skip to content

Commit 90fbf2c

Browse files
committed
test: fix test case error.
1 parent 736e568 commit 90fbf2c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

paralleler_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ func TestParallelerRunWithFailure(t *testing.T) {
5151
for i := 0; i < 5; i++ {
5252
n := i
5353
p.Add(func() error {
54+
time.Sleep(10 * time.Millisecond)
5455
cnt.Add(1)
5556
if n == 2 {
5657
return expectedErr

0 commit comments

Comments
 (0)