[java-idp-integration-tests COMMIT] /trunk/src/test/java/net/shibboleth/idp/test/JettyServerProcess.java
noreply at shibboleth.net
noreply at shibboleth.net
Mon Jan 19 15:51:19 EST 2015
Author: tzeller
Date: Mon Jan 19 15:51:19 2015
New Revision: 48
URL: http://svn.shibboleth.net/view/java-idp-integration-tests?rev=48&view=rev
Log:
Attempt to fix Jenkins test by waiting 60s for the IdP to startup.
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=48&r1=47&r2=48&view=diff
==============================================================================
--- trunk/src/test/java/net/shibboleth/idp/test/JettyServerProcess.java (original)
+++ trunk/src/test/java/net/shibboleth/idp/test/JettyServerProcess.java Mon Jan 19 15:51:19 2015
@@ -203,7 +203,7 @@
}
/**
- * Wait up to 30 seconds for the IdP status page, trying every half-second.
+ * Wait up to 60 seconds for the IdP status page, trying every half-second.
*
* @throws RuntimeException if the actual status page text is not expected
* @throws Exception if an error occurs
@@ -211,7 +211,7 @@
public void waitForStatusPage() throws Exception {
log.debug("Waiting for Jetty server to start ...");
- final String statusPageText = getStatusPageText(60, 500);
+ final String statusPageText = getStatusPageText(120, 500);
if (!statusPageText.startsWith(StatusTest.STARTS_WITH)) {
log.error("Unable to determine if Jetty server has started.");
More information about the commits
mailing list