diff --git a/src/Servers/Kestrel/perf/Microbenchmarks/InMemoryTransportBenchmark.cs b/src/Servers/Kestrel/perf/Microbenchmarks/InMemoryTransportBenchmark.cs index 4b59772a3668..b2dc5b850461 100644 --- a/src/Servers/Kestrel/perf/Microbenchmarks/InMemoryTransportBenchmark.cs +++ b/src/Servers/Kestrel/perf/Microbenchmarks/InMemoryTransportBenchmark.cs @@ -63,6 +63,7 @@ public void GlobalSetupPlaintext() ValidateResponseAsync(RequestParsingData.PlaintextTechEmpowerRequest, _plaintextExpectedResponse).Wait(); ValidateResponseAsync(RequestParsingData.PlaintextTechEmpowerPipelinedRequests, _plaintextPipelinedExpectedResponse).Wait(); + throw new Exception("This should break validation."); } private async Task ValidateResponseAsync(byte[] request, string expectedResponse)