[java-idp-integration-tests COMMIT] /trunk/src/test/java/net/shibboleth/idp/test/JettyServerProcess.java

noreply at shibboleth.net noreply at shibboleth.net
Tue Feb 10 19:19:54 EST 2015


Author: tzeller
Date: Tue Feb 10 19:19:54 2015
New Revision: 52

URL: http://svn.shibboleth.net/view/java-idp-integration-tests?rev=52&view=rev
Log:
Attempt to fix Jenkins tests by reverting to reading log file instead of pinging status page to determine if the Jetty process has started.

Modified:
    trunk/src/test/java/net/shibboleth/idp/test/JettyServerProcess.java

Modified: trunk/src/test/java/net/shibboleth/idp/test/JettyServerProcess.java
URL: http://svn.shibboleth.net/view/java-idp-integration-tests/trunk/src/test/java/net/shibboleth/idp/test/JettyServerProcess.java?rev=52&r1=51&r2=52&view=diff
==============================================================================
--- trunk/src/test/java/net/shibboleth/idp/test/JettyServerProcess.java (original)
+++ trunk/src/test/java/net/shibboleth/idp/test/JettyServerProcess.java Tue Feb 10 19:19:54 2015
@@ -148,8 +148,8 @@
             final Stopwatch stopwatch = Stopwatch.createStarted();
             log.debug("Starting the Jetty server process");
             process = processBuilder.start();
-            // waitForJettyLogFile();
-            waitForStatusPage();
+            waitForJettyLogFile();
+            // waitForStatusPage();
             stopwatch.stop();
             log.debug("Jetty server process started in {}ms", stopwatch.elapsed(TimeUnit.MILLISECONDS));
         } catch (Exception e) {



More information about the commits mailing list