Skip to content

Commit 69ce54b

Browse files
spericashrstoyanov
authored andcommitted
Also catch UncheckedIOException in test to handle broken pipes (#8462)
* Also catch UncheckedIOException in test. Signed-off-by: Santiago Pericasgeertsen <[email protected]> * Attempt to fix TCK download. Signed-off-by: Santiago Pericasgeertsen <[email protected]> --------- Signed-off-by: Santiago Pericasgeertsen <[email protected]>
1 parent 529612f commit 69ce54b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

microprofile/tests/tck/tck-core-profile/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<configuration>
4949
<target>
5050
<!-- If you use proxy you need to set it as a system properties -->
51-
<get skipexisting="true" src="https://www.eclipse.org/downloads/download.php?file=/ee4j/jakartaee-tck/jakartaee10/staged/eftl/jakarta-core-profile-tck-${version.lib.microprofile-core-profile}.zip" dest="jakarta-core-profile-tck-${version.lib.microprofile-core-profile}.zip"/>
51+
<get skipexisting="true" src="https://download.eclipse.org/ee4j/jakartaee-tck/jakartaee10/staged/eftl/jakarta-core-profile-tck-${version.lib.microprofile-core-profile}.zip" dest="jakarta-core-profile-tck-${version.lib.microprofile-core-profile}.zip"/>
5252
<unzip src="jakarta-core-profile-tck-${version.lib.microprofile-core-profile}.zip" dest="./target"/>
5353
<chmod file="artifact-install.sh" perm="+x"/>
5454
<exec executable="sh">

microprofile/tests/tck/tck-jsonb/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<configuration>
4949
<target>
5050
<!-- If you use proxy you need to set it as a system properties -->
51-
<get skipexisting="true" src="https://www.eclipse.org/downloads/download.php?file=/ee4j/jakartaee-tck/jakartaee10/promoted/eftl/jakarta-jsonb-tck-${version.lib.jakarta.jsonb-api}.zip" dest="jakarta-jsonb-tck-${version.lib.jakarta.jsonb-api}.zip"/>
51+
<get skipexisting="true" src="https://download.eclipse.org/ee4j/jakartaee-tck/jakartaee10/promoted/eftl/jakarta-jsonb-tck-${version.lib.jakarta.jsonb-api}.zip" dest="jakarta-jsonb-tck-${version.lib.jakarta.jsonb-api}.zip"/>
5252
<unzip src="jakarta-jsonb-tck-${version.lib.jakarta.jsonb-api}.zip" dest="./target"/>
5353
<chmod file="target/jsonb-tck/artifacts/artifact-install.sh" perm="+x"/>
5454
<exec dir="target/jsonb-tck/artifacts" executable="sh">

microprofile/tests/tck/tck-restful/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<configuration>
4949
<target>
5050
<!-- If you use proxy you need to set it as a system properties -->
51-
<get skipexisting="true" src="https://www.eclipse.org/downloads/download.php?file=/ee4j/jakartaee-tck/jakartaee10/staged/eftl/jakarta-restful-ws-tck-${version.lib.microprofile-restful-tck}.zip" dest="jakarta-restful-ws-tck-${version.lib.microprofile-restful-tck}.zip"/>
51+
<get skipexisting="true" src="https://download.eclipse.org/ee4j/jakartaee-tck/jakartaee10/staged/eftl/jakarta-restful-ws-tck-${version.lib.microprofile-restful-tck}.zip" dest="jakarta-restful-ws-tck-${version.lib.microprofile-restful-tck}.zip"/>
5252
<unzip src="jakarta-restful-ws-tck-${version.lib.microprofile-restful-tck}.zip" dest="./target"/>
5353
<chmod file="artifact-install.sh" perm="+x"/>
5454
<exec executable="sh">

webserver/tests/webserver/src/test/java/io/helidon/webserver/tests/MaxPayloadSizeTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ void testActualLengthExceededWithPayload() {
100100
it.write(PAYLOAD_BYTES);
101101
it.write(PAYLOAD_BYTES);
102102
it.write(PAYLOAD_BYTES);
103-
} catch (IOException e) {
103+
} catch (IOException | UncheckedIOException e) {
104104
// ignored -- possible connection reset
105105
}
106106
})) {

0 commit comments

Comments
 (0)