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

storage: extend wait timeout for execution
This commit is contained in:
Xiang Li
2015-11-02 12:53:18 -08:00

View File

@@ -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")
}