mirror of
https://github.com/TwiN/gatus.git
synced 2024-12-22 14:41:01 +01:00
Increase sleep to give enough time for the goroutine to end its task
This commit is contained in:
parent
7cf1750f86
commit
bbbfe7f466
@ -85,5 +85,5 @@ func TestAutoSave(t *testing.T) {
|
||||
go autoSaveStore(ctx, provider, 3*time.Millisecond)
|
||||
time.Sleep(15 * time.Millisecond)
|
||||
cancelFunc()
|
||||
time.Sleep(10 * time.Millisecond)
|
||||
time.Sleep(50 * time.Millisecond)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user