You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2020/08/19 15:34:52 UTC
[tomcat] branch 7.0.x updated: Increase timeout (10s is too sort
for Travis).
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/7.0.x by this push:
new c651524 Increase timeout (10s is too sort for Travis).
c651524 is described below
commit c65152489917a4b0f8d5f4c2f813451eb73e90c3
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 5f12011..ab42d7a 100644
--- a/test/org/apache/catalina/loader/TestVirtualContext.java
+++ b/test/org/apache/catalina/loader/TestVirtualContext.java
@@ -315,7 +315,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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org