Browse Source

Merge pull request #3785 from yichengq/fix-block-test

storage: extend wait timeout for execution
Xiang Li 10 years ago
parent
commit
4fd65ecd4c
1 changed files with 1 additions and 1 deletions
  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)
 	s.TxnEnd(id)
 	select {
 	select {
 	case <-done:
 	case <-done:
-	case <-time.After(100 * time.Millisecond):
+	case <-time.After(time.Second):
 		t.Fatalf("failed to execute ForceCommit")
 		t.Fatalf("failed to execute ForceCommit")
 	}
 	}