diff --git a/app/protocol/flows/testing/handle_relay_invs_test.go b/app/protocol/flows/testing/handle_relay_invs_test.go index 3ebb29199..0a84c484f 100644 --- a/app/protocol/flows/testing/handle_relay_invs_test.go +++ b/app/protocol/flows/testing/handle_relay_invs_test.go @@ -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) } }