Przeglądaj źródła

storage: extend wait timeout for execution

Extend timeout to pass always in traivs.
Yicheng Qin 10 lat temu
rodzic
commit
59b5dabc66
1 zmienionych plików z 1 dodań i 1 usunięć
  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")
 	}