Increase the waiting for error timeout (#1465)

This commit is contained in:
Ori Newman 2021-01-28 13:33:37 +02:00 committed by GitHub
parent a9a810a2b2
commit 13ffa5093c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1411,8 +1411,8 @@ func TestHandleRelayInvs(t *testing.T) {
select {
case err := <-errChan:
checkFlowError(t, err, test.expectsProtocolError, test.expectsBan, test.expectsErrToContain)
case <-time.After(time.Second):
t.Fatalf("waiting for error timed out after %s", time.Second)
case <-time.After(10 * time.Second):
t.Fatalf("waiting for error timed out after %s", 10*time.Second)
}
}