@@ -40,7 +40,7 @@ public class TimeoutHandlingIT {
4040 static final int PORT_NUMBER = 18080 ;
4141
4242 @ BeforeAll
43- public static void setup () {
43+ static void setup () {
4444 wm = new WireMockServer (
4545 options ()
4646 .port (PORT_NUMBER )
@@ -51,7 +51,7 @@ public static void setup () {
5151 }
5252
5353 @ AfterAll
54- public static void teardown () {
54+ static void teardown () {
5555 wm .stop ();
5656 }
5757
@@ -180,7 +180,7 @@ void below_configured_timeout(MavenExecutionResult result) throws IOException {
180180 @ SystemProperty (value = "xray.reportFile" , content = "junit.xml" )
181181 @ SystemProperty (value = "xray.projectKey" , content = "DELAY3" )
182182 @ SystemProperty (value = "xray.timeout" , content = "2" )
183- void exceed_configured_timeout (MavenExecutionResult result ) throws IOException {
183+ void exceed_configured_timeout (MavenExecutionResult result ) {
184184 assertThat (result .getMavenLog ().getStdout ().toString ()).contains ("timeout" );
185185 assertThat (result ).isFailure ();
186186 }
@@ -219,7 +219,7 @@ void below_default_timeout(MavenExecutionResult result) throws IOException {
219219 @ SystemProperty (value = "xray.reportFormat" , content = "junit" )
220220 @ SystemProperty (value = "xray.reportFile" , content = "junit.xml" )
221221 @ SystemProperty (value = "xray.projectKey" , content = "DELAY51" )
222- void exceed_default_timeout (MavenExecutionResult result ) throws IOException {
222+ void exceed_default_timeout (MavenExecutionResult result ) {
223223 assertThat (result .getMavenLog ().getStdout ().toString ()).contains ("timeout" );
224224 assertThat (result ).isFailure ();
225225 }
@@ -258,7 +258,7 @@ void below_configured_timeout_cloud(MavenExecutionResult result) throws IOExcept
258258 @ SystemProperty (value = "xray.projectKey" , content = "DELAY3" )
259259 @ SystemProperty (value = "xray.timeout" , content = "2" )
260260 @ SystemProperty (value = "xray.useInternalTestProxy" , content = "true" )
261- void exceed_configured_timeout_cloud (MavenExecutionResult result ) throws IOException {
261+ void exceed_configured_timeout_cloud (MavenExecutionResult result ) {
262262 assertThat (result .getMavenLog ().getStdout ().toString ()).contains ("timeout" );
263263 assertThat (result ).isFailure ();
264264 }
@@ -298,7 +298,7 @@ void below_default_timeout_cloud(MavenExecutionResult result) throws IOException
298298 @ SystemProperty (value = "xray.reportFile" , content = "junit.xml" )
299299 @ SystemProperty (value = "xray.projectKey" , content = "DELAY51" )
300300 @ SystemProperty (value = "xray.useInternalTestProxy" , content = "true" )
301- void exceed_default_timeout_cloud (MavenExecutionResult result ) throws IOException {
301+ void exceed_default_timeout_cloud (MavenExecutionResult result ) {
302302 assertThat (result .getMavenLog ().getStdout ().toString ()).contains ("timeout" );
303303 assertThat (result ).isFailure ();
304304 }
0 commit comments