From f4e49deb908779c665696ff5c04cbfba7230d014 Mon Sep 17 00:00:00 2001 From: Jeremy Grelle Date: Wed, 8 Nov 2023 07:43:34 -0500 Subject: [PATCH] Update test to correctly assert error with Servlet (#10082) --- .../micronaut/http/server/tck/tests/ErrorHandlerFluxTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http-server-tck/src/main/java/io/micronaut/http/server/tck/tests/ErrorHandlerFluxTest.java b/http-server-tck/src/main/java/io/micronaut/http/server/tck/tests/ErrorHandlerFluxTest.java index 857a2d08908..455c7e046da 100644 --- a/http-server-tck/src/main/java/io/micronaut/http/server/tck/tests/ErrorHandlerFluxTest.java +++ b/http-server-tck/src/main/java/io/micronaut/http/server/tck/tests/ErrorHandlerFluxTest.java @@ -83,7 +83,7 @@ void testErrorHandlerWithFluxChunkedSignaledDelayedError() throws IOException { asserts(SPEC_NAME, HttpRequest.GET("/errors/flux-chunked-delayed-error"), (server, request) -> { - Executable e = () -> server.exchange(request); + Executable e = () -> server.exchange(request, String[].class); Assertions.assertThrows(HttpClientException.class, e); }); }