This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/8.5.x by this push:
     new e12cb60  Increase timeout (10s is too sort for Travis).
e12cb60 is described below

commit e12cb608d6ed1283d40a9ed4fa6fad4915676763
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Aug 19 16:32:04 2020 +0100

    Increase timeout (10s is too sort for Travis).
---
 test/org/apache/catalina/loader/TestVirtualContext.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/test/org/apache/catalina/loader/TestVirtualContext.java 
b/test/org/apache/catalina/loader/TestVirtualContext.java
index 9db23e2..65166d5 100644
--- a/test/org/apache/catalina/loader/TestVirtualContext.java
+++ b/test/org/apache/catalina/loader/TestVirtualContext.java
@@ -322,7 +322,9 @@ public class TestVirtualContext extends TomcatBaseTest {
         //       root cause of this is the frequent poor IO performance of the
         //       VM running the buildbot instance. Increasing this to 10s 
should
         //       avoid these failures.
-        int sc = getUrl("http://localhost:"; + getPort() + pageUrl, res, 10000,
+        //       With the additional of Travis CI, failures continued to
+        //       observed with a 10s timeout. It was therefore increased to 
20s.
+        int sc = getUrl("http://localhost:"; + getPort() + pageUrl, res, 20000,
                 null, null);
 
         Assert.assertEquals(expectedStatus, sc);


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

Reply via email to