diff --git testutils/ptest2/src/main/java/org/apache/hive/ptest/execution/LocalCommand.java testutils/ptest2/src/main/java/org/apache/hive/ptest/execution/LocalCommand.java index de9fe68..4d397ea 100644 --- testutils/ptest2/src/main/java/org/apache/hive/ptest/execution/LocalCommand.java +++ testutils/ptest2/src/main/java/org/apache/hive/ptest/execution/LocalCommand.java @@ -42,7 +42,7 @@ public LocalCommand(Logger logger, OutputPolicy outputPolicy, String command) throws IOException { this.commandId = localCommandCounter.incrementAndGet(); this.logger = logger; - logger.info("Starting LocalCommandId={}: {}" + commandId, command); + logger.info("Starting LocalCommandId={}: {}", commandId, command); stopwatch.start(); process = new ProcessBuilder().command(new String[] {"bash", "-c", command}).redirectErrorStream(true).start(); streamReader = new StreamReader(outputPolicy, process.getInputStream()); @@ -142,4 +142,4 @@ public void run() { } } } -} \ No newline at end of file +} diff --git testutils/ptest2/src/main/resources/batch-exec.vm testutils/ptest2/src/main/resources/batch-exec.vm index 652084d..d8141b0 100644 --- testutils/ptest2/src/main/resources/batch-exec.vm +++ testutils/ptest2/src/main/resources/batch-exec.vm @@ -62,7 +62,7 @@ then testModule=./ fi pushd $testModule - timeout 1h mvn -B test -Dmaven.repo.local=$localDir/$instanceName/maven \ + timeout 40m mvn -B test -Dmaven.repo.local=$localDir/$instanceName/maven \ $mavenArgs $mavenTestArgs $testArguments 1>$logDir/maven-test.txt 2>&1 /some/log/dir/maven-test.txt 2>&1 /some/log/dir/maven-test.txt 2>&1