Author: markt
Date: Thu Apr 25 19:56:29 2013
New Revision: 1475931
URL: http://svn.apache.org/r1475931
Log:
Seeing some failures in 7.0.x. Reduce timeout to make them easier to repeat.
Modified:
tomcat/tc7.0.x/trunk/ (props changed)
tomcat/tc7.0.x/trunk/test/org/apache/catalina/loader/TestVirtualContext.java
Propchange: tomcat/tc7.0.x/trunk/
------------------------------------------------------------------------------
Merged /tomcat/trunk:r1475930
Modified:
tomcat/tc7.0.x/trunk/test/org/apache/catalina/loader/TestVirtualContext.java
URL:
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/test/org/apache/catalina/loader/TestVirtualContext.java?rev=1475931&r1=1475930&r2=1475931&view=diff
==============================================================================
---
tomcat/tc7.0.x/trunk/test/org/apache/catalina/loader/TestVirtualContext.java
(original)
+++
tomcat/tc7.0.x/trunk/test/org/apache/catalina/loader/TestVirtualContext.java
Thu Apr 25 19:56:29 2013
@@ -297,7 +297,8 @@ 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, null);
+ int sc = getUrl("http://localhost:" + getPort() + pageUrl, res, 3000,
+ null, null);
assertEquals(expectedStatus, sc);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]