Parcourir la source

storage: extend wait timeout for execution

Extend timeout to pass always in traivs.
Yicheng Qin il y a 10 ans
Parent
commit
59b5dabc66
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      storage/kvstore_test.go

+ 1 - 1
storage/kvstore_test.go

@@ -665,7 +665,7 @@ func TestTxnBlockBackendForceCommit(t *testing.T) {
 	s.TxnEnd(id)
 	select {
 	case <-done:
-	case <-time.After(100 * time.Millisecond):
+	case <-time.After(time.Second):
 		t.Fatalf("failed to execute ForceCommit")
 	}