Skip to content

Commit 3b7e8a5

Browse files
committed
give test more time after start
1 parent 5425c7e commit 3b7e8a5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scheduler_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,10 +599,12 @@ func TestScheduler_Start(t *testing.T) {
599599
require.NoError(t, err)
600600

601601
s.Start()
602+
time.Sleep(100 * time.Millisecond)
602603
s.Start()
604+
time.Sleep(100 * time.Millisecond)
603605
s.Start()
604606

605-
time.Sleep(1000 * time.Millisecond)
607+
time.Sleep(800 * time.Millisecond)
606608

607609
require.NoError(t, s.Shutdown())
608610

0 commit comments

Comments
 (0)