From 59b5dabc66b7fd118b867f43253a6fde63b6c497 Mon Sep 17 00:00:00 2001 From: Yicheng Qin Date: Fri, 30 Oct 2015 17:44:31 -0700 Subject: [PATCH] storage: extend wait timeout for execution Extend timeout to pass always in traivs. --- storage/kvstore_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/kvstore_test.go b/storage/kvstore_test.go index 8149a55e989..eab2db9804a 100644 --- a/storage/kvstore_test.go +++ b/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") }