From: kkolinko Date: Sun, 9 Jan 2011 07:11:30 +0000 (+0000) Subject: The TestMapper.performanceTest() takes 3250 msecs to rn for me. I am increasing the... X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=11a242e92f62eb4130d4f2fe9d76c0dba244cbca;p=tomcat7.0 The TestMapper.performanceTest() takes 3250 msecs to rn for me. I am increasing the timeout to be 4s. Also printing the actual value in case the test fails. git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1056887 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/test/org/apache/tomcat/util/http/mapper/TestMapper.java b/test/org/apache/tomcat/util/http/mapper/TestMapper.java index e2a4c3584..1bf3c8259 100644 --- a/test/org/apache/tomcat/util/http/mapper/TestMapper.java +++ b/test/org/apache/tomcat/util/http/mapper/TestMapper.java @@ -147,9 +147,9 @@ public class TestMapper extends TestCase { } long time = System.currentTimeMillis() - start; - // Takes ~1s on markt's laptop. If this takes more than 3s something + // Takes ~1s on markt's laptop. If this takes more than 4s something // probably needs looking at. If this fails repeatedly then we may need // to increase this limit. - assertTrue(time < 3000); + assertTrue(String.valueOf(time), time < 4000); } }