diff --git a/integration/performance_test.go b/integration/performance_test.go index 2a3b8789d..19e8b5c9b 100644 --- a/integration/performance_test.go +++ b/integration/performance_test.go @@ -35,8 +35,12 @@ func BenchmarkTXPerformanceTest(t *testing.B) { t.ResetTimer() for n := 0; n < t.N; n++ { - require.Equal(t, server.RelayTxn(data[n]), network.RelaySucceed) - require.Equal(t, server.RelayTxn(data[n]), network.RelayAlreadyExists) + if server.RelayTxn(data[n]) != network.RelaySucceed { + t.Fail() + } + if server.RelayTxn(data[n]) != network.RelayAlreadyExists { + t.Fail() + } } chain.Close() }