From a21166c3aa5553059bb24dd746bc21d0c80e41bb Mon Sep 17 00:00:00 2001 From: Yicheng Qin Date: Tue, 1 Sep 2015 08:58:55 -0700 Subject: [PATCH] storage: extend timeout to wait for put complete travis is sometimes slow, and it could fail to complete the put in 10ms. --- storage/kv_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/kv_test.go b/storage/kv_test.go index 5606fca9e..1f8486172 100644 --- a/storage/kv_test.go +++ b/storage/kv_test.go @@ -430,7 +430,7 @@ func TestKVTxnBlockNonTnxOperations(t *testing.T) { s.TxnEnd(id) select { case <-done: - case <-time.After(10 * time.Millisecond): + case <-time.After(100 * time.Millisecond): t.Fatalf("#%d: operation failed to be unblocked", i) } }