Reduce delay on the manager test

pull/449/head
Rongjian Lan 6 years ago
parent c55d2ef04a
commit 91d7567c94
  1. 2
      api/service/manager_test.go

@ -24,7 +24,7 @@ func TestTakeAction(t *testing.T) {
for i := 0; i < 2; i++ {
select {
case <-time.After(WaitForStatusUpdate):
case <-time.After(100 * time.Millisecond):
m.SendAction(&Action{Action: Start, ServiceType: SupportSyncing})
}
}

Loading…
Cancel
Save