Author: markt
Date: Mon Aug 15 13:03:34 2011
New Revision: 1157832

URL: http://svn.apache.org/viewvc?rev=1157832&view=rev
Log:
Attempt to fix timing issues on Linux unit tests

Modified:
    tomcat/trunk/test/org/apache/catalina/core/TestStandardContextValve.java

Modified: 
tomcat/trunk/test/org/apache/catalina/core/TestStandardContextValve.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/core/TestStandardContextValve.java?rev=1157832&r1=1157831&r2=1157832&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/catalina/core/TestStandardContextValve.java 
(original)
+++ tomcat/trunk/test/org/apache/catalina/core/TestStandardContextValve.java 
Mon Aug 15 13:03:34 2011
@@ -70,6 +70,9 @@ public class TestStandardContextValve ex
         int rc = getUrl("http://localhost:"; + getPort() + "/invalid",
                 new ByteChunk(), null);
 
+        tomcat.stop();
+        tomcat.destroy();
+
         assertEquals(Response.SC_NOT_FOUND, rc);
         assertEquals("InitErrorDestroy", trace.toString());
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to