Merge pull request #1913 from nspcc-dev/notary/test_fix

core: fix `Condition never satisfied` test error
This commit is contained in:
Roman Khimov 2021-04-21 11:36:34 +03:00 committed by GitHub
commit 057d14f6e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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