Skip to content
This repository has been archived by the owner on Feb 1, 2023. It is now read-only.

Commit

Permalink
fix: make blockstore cancel test less timing dependent
Browse files Browse the repository at this point in the history
It's still timing dependent, but we have a 2.5x timeout increase.
  • Loading branch information
Stebalien committed Jun 24, 2021
1 parent 5f2fd63 commit 9ce8d48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/decision/blockstoremanager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ func TestBlockstoreManagerCtxDone(t *testing.T) {
}

// would expect to wait delayTime*10 if we didn't cancel.
if time.Since(before) > delayTime*2 {
if time.Since(before) > delayTime*5 {
t.Error("expected a fast timeout")
}
}

0 comments on commit 9ce8d48

Please sign in to comment.