From 90fd3a09e4176897b6feca6a49b7715d18184c13 Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Thu, 24 Jun 2021 11:41:17 -0700 Subject: [PATCH] fix: make blockstore cancel test less timing dependent It's still timing dependent, but we have a 2.5x timeout increase. --- internal/decision/blockstoremanager_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/decision/blockstoremanager_test.go b/internal/decision/blockstoremanager_test.go index 49a10c50..61007299 100644 --- a/internal/decision/blockstoremanager_test.go +++ b/internal/decision/blockstoremanager_test.go @@ -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") } }