Author: markt
Date: Sun Apr 28 17:33:47 2013
New Revision: 1476805
URL: http://svn.apache.org/r1476805
Log:
Extend read timeout to 30s for this test as JSP initialisation seems to take
longer than 3s.
Modified:
tomcat/trunk/test/org/apache/catalina/loader/TestVirtualContext.java
Modified: tomcat/trunk/test/org/apache/catalina/loader/TestVirtualContext.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/loader/TestVirtualContext.java?rev=1476805&r1=1476804&r2=1476805&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/catalina/loader/TestVirtualContext.java
(original)
+++ tomcat/trunk/test/org/apache/catalina/loader/TestVirtualContext.java Sun
Apr 28 17:33:47 2013
@@ -323,7 +323,7 @@ public class TestVirtualContext extends
private void assertPageContains(String pageUrl, String expectedBody,
int expectedStatus) throws IOException {
ByteChunk res = new ByteChunk();
- int sc = getUrl("http://localhost:" + getPort() + pageUrl, res, 3000,
+ int sc = getUrl("http://localhost:" + getPort() + pageUrl, res, 30000,
null, null);
assertEquals(expectedStatus, sc);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]