Skip to content

Commit

Permalink
Finish fixing the execution of the functional tests. It's all working…
Browse files Browse the repository at this point in the history
… fine now.

git-svn-id: https://svn.xwiki.org/svnroot/xwiki/xwiki-products/xwiki-enterprise/trunk@3735 f329d543-caf0-0310-9063-dda96c69346f
  • Loading branch information
vmassol committed Jun 26, 2007
1 parent 374d152 commit bc0595a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions distribution-test/pom.xml
Expand Up @@ -105,6 +105,7 @@
<configuration>
<background>true</background>
<multiWindow>true</multiWindow>
<port>4444</port>
</configuration>
</plugin>
<!-- Step 4: Start XWiki, Execute the tests and Stop XWiki
Expand Down
Expand Up @@ -77,6 +77,7 @@ private void startXWiki() throws Exception
Process process =
Runtime.getRuntime().exec(START_COMMAND, null, new File(EXECUTION_DIRECTORY));
if (process.waitFor() != 0) {
tearDown();
throw new RuntimeException("Failed to start XWiki with command [" + START_COMMAND
+ "] in directory [" + EXECUTION_DIRECTORY + "]");
}
Expand Down Expand Up @@ -117,6 +118,7 @@ private void waitForXWikiToLoad() throws Exception
if (timedOut) {
String message = "Failed to start XWiki in [" + TIMEOUT_SECONDS + "] seconds";
System.out.println(message);
tearDown();
throw new RuntimeException(message);
}
}
Expand Down

0 comments on commit bc0595a

Please sign in to comment.