storage: extend timeout to wait for put complete

travis is sometimes slow, and it could fail to complete the put in 10ms.
This commit is contained in:
Yicheng Qin 2015-09-01 08:58:55 -07:00
parent 1fabc48968
commit a21166c3aa

View File

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