diff --git a/src/main/java/org/mortbay/jetty/maven/h2spec/Http2SpecMojo.java b/src/main/java/org/mortbay/jetty/maven/h2spec/Http2SpecMojo.java index f4c60fb..2e00d76 100644 --- a/src/main/java/org/mortbay/jetty/maven/h2spec/Http2SpecMojo.java +++ b/src/main/java/org/mortbay/jetty/maven/h2spec/Http2SpecMojo.java @@ -165,12 +165,6 @@ public class Http2SpecMojo extends AbstractMojo @Parameter(property = "h2spec.skipNoDockerAvailable", defaultValue = "false") private boolean skipNoDockerAvailable; - /** - * maximum timeout in seconds to run the tests - */ - @Parameter(property = "h2spec.testTimeout", defaultValue = "60") - private int testTimeout = 60; - /** * maximum timeout in minutes to run all the tests */ @@ -453,8 +447,6 @@ public StartupStatus checkStartupState( DockerClient dockerClient, String contai private static class MojoLogConsumer extends ToStringConsumer { - private StringBuilder buffer = new StringBuilder(); - private Log log; public MojoLogConsumer( Log log ) @@ -489,8 +481,8 @@ protected void markedFailedTestAsSkipped( Path junitFile) Arrays.stream( testsuite.getChildren() ).forEach( testcase -> { if ( testcase.getChild( "error" ) != null ) { - int skipped = Integer.valueOf( testsuite.getAttribute( "skipped" ) ); - int errors = Integer.valueOf( testsuite.getAttribute( "errors" ) ); + int skipped = Integer.parseInt( testsuite.getAttribute( "skipped" ) ); + int errors = Integer.parseInt( testsuite.getAttribute( "errors" ) ); testsuite.setAttribute( "skipped", Integer.toString( ++skipped ) ); testsuite.setAttribute( "errors", Integer.toString( --errors ) ); Xpp3Dom skippedDom = new Xpp3Dom( "skipped" );