Skip to content
Snippets Groups Projects
Commit 4d94b392 authored by brinn's avatar brinn
Browse files

change: relax test for startup failure message to succeed with both JRE 1.5 and 1.6

SVN: 6534
parent 363fab03
No related branches found
No related tags found
No related merge requests found
......@@ -269,8 +269,9 @@ public class ProcessExecutionHelperTest
operationLog, machineLog);
result.log();
assertFalse(result.isRun());
assertTrue(result.getStartupFailureMessage().indexOf(
"some_non_existent_executable: not found") >= 0);
assertTrue(result.getStartupFailureMessage(), result.getStartupFailureMessage().indexOf(
"some_non_existent_executable") >= 0
&& result.getStartupFailureMessage().indexOf("IOException") >= 0);
System.out.println("Startup failure: " + result.getStartupFailureMessage());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment