mirror of
https://github.com/TwiN/gatus.git
synced 2024-12-14 11:58:04 +00:00
Increase sleep to give enough time for the goroutine to end its task
This commit is contained in:
parent
7cf1750f86
commit
bbbfe7f466
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue