core: fix Condition never satisfied test error

This test is failing from time to time.
This commit is contained in:
Anna Shaleva 2021-04-21 11:18:14 +03:00
parent 881ed3065e
commit f7c65f2b55

View file

@ -658,6 +658,6 @@ func TestNotary(t *testing.T) {
mtx.RLock()
defer mtx.RUnlock()
return completedTxes[requests[0].MainTransaction.Hash()] != nil
}, 2*time.Second, 10*time.Millisecond)
}, 3*time.Second, 100*time.Millisecond)
checkFallbackTxs(t, requests, false)
}