mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
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:
parent
1fabc48968
commit
a21166c3aa
@ -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)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user