Merge pull request #3420 from yichengq/wait-more

storage: extend timeout to wait for put complete
This commit is contained in:
Yicheng Qin 2015-09-01 09:25:46 -07:00
commit 85b6c51a23

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