core: fix Condition never satisfied
test error
This test is failing from time to time.
This commit is contained in:
parent
881ed3065e
commit
f7c65f2b55
1 changed files with 1 additions and 1 deletions
|
@ -658,6 +658,6 @@ func TestNotary(t *testing.T) {
|
||||||
mtx.RLock()
|
mtx.RLock()
|
||||||
defer mtx.RUnlock()
|
defer mtx.RUnlock()
|
||||||
return completedTxes[requests[0].MainTransaction.Hash()] != nil
|
return completedTxes[requests[0].MainTransaction.Hash()] != nil
|
||||||
}, 2*time.Second, 10*time.Millisecond)
|
}, 3*time.Second, 100*time.Millisecond)
|
||||||
checkFallbackTxs(t, requests, false)
|
checkFallbackTxs(t, requests, false)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue