From 984bd0aa203613771e73223fa457d46388c2a9a6 Mon Sep 17 00:00:00 2001 From: Santiago Pericas-Geertsen Date: Fri, 8 Mar 2024 16:51:03 -0500 Subject: [PATCH] Also catch UncheckedIOException in test to handle broken pipes (#8462) * Also catch UncheckedIOException in test. Signed-off-by: Santiago Pericasgeertsen * Attempt to fix TCK download. Signed-off-by: Santiago Pericasgeertsen --------- Signed-off-by: Santiago Pericasgeertsen --- microprofile/tests/tck/tck-core-profile/pom.xml | 2 +- microprofile/tests/tck/tck-jsonb/pom.xml | 2 +- microprofile/tests/tck/tck-restful/pom.xml | 2 +- .../java/io/helidon/webserver/tests/MaxPayloadSizeTest.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/microprofile/tests/tck/tck-core-profile/pom.xml b/microprofile/tests/tck/tck-core-profile/pom.xml index 7701b408c01..2ae0139d62d 100644 --- a/microprofile/tests/tck/tck-core-profile/pom.xml +++ b/microprofile/tests/tck/tck-core-profile/pom.xml @@ -48,7 +48,7 @@ - + diff --git a/microprofile/tests/tck/tck-jsonb/pom.xml b/microprofile/tests/tck/tck-jsonb/pom.xml index 4b9f6efee0f..dde592ef345 100644 --- a/microprofile/tests/tck/tck-jsonb/pom.xml +++ b/microprofile/tests/tck/tck-jsonb/pom.xml @@ -48,7 +48,7 @@ - + diff --git a/microprofile/tests/tck/tck-restful/pom.xml b/microprofile/tests/tck/tck-restful/pom.xml index 7049aa5c578..7614b371bdd 100644 --- a/microprofile/tests/tck/tck-restful/pom.xml +++ b/microprofile/tests/tck/tck-restful/pom.xml @@ -48,7 +48,7 @@ - + diff --git a/webserver/tests/webserver/src/test/java/io/helidon/webserver/tests/MaxPayloadSizeTest.java b/webserver/tests/webserver/src/test/java/io/helidon/webserver/tests/MaxPayloadSizeTest.java index aa22e72bd11..829daa79578 100644 --- a/webserver/tests/webserver/src/test/java/io/helidon/webserver/tests/MaxPayloadSizeTest.java +++ b/webserver/tests/webserver/src/test/java/io/helidon/webserver/tests/MaxPayloadSizeTest.java @@ -100,7 +100,7 @@ void testActualLengthExceededWithPayload() { it.write(PAYLOAD_BYTES); it.write(PAYLOAD_BYTES); it.write(PAYLOAD_BYTES); - } catch (IOException e) { + } catch (IOException | UncheckedIOException e) { // ignored -- possible connection reset } })) {