Increase sleep to give enough time for the goroutine to end its task

This commit is contained in:
TwinProduction 2021-07-16 21:32:53 -04:00 committed by Chris
parent 7cf1750f86
commit bbbfe7f466

View File

@ -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)
}