This is an automated email from the ASF dual-hosted git repository. rombert pushed a commit to annotated tag org.apache.sling.testing.clients-1.0.0 in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-testing-clients.git
commit 4f9344125f6deccd0fafad3769c3355423f01875 Author: Andrei Dulvac <[email protected]> AuthorDate: Wed Jun 8 14:30:02 2016 +0000 trivial - reduced wait time in test git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/testing/http/clients@1747400 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/sling/testing/DelayRequestInterceptorTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/apache/sling/testing/DelayRequestInterceptorTest.java b/src/test/java/org/apache/sling/testing/DelayRequestInterceptorTest.java index c44d238..fc322b9 100644 --- a/src/test/java/org/apache/sling/testing/DelayRequestInterceptorTest.java +++ b/src/test/java/org/apache/sling/testing/DelayRequestInterceptorTest.java @@ -24,11 +24,11 @@ public class DelayRequestInterceptorTest { @Test public void testDelay() throws Exception { - DelayRequestInterceptor interceptor = new DelayRequestInterceptor(1000); + DelayRequestInterceptor interceptor = new DelayRequestInterceptor(700); long before = System.currentTimeMillis(); interceptor.process(null, null); long after = System.currentTimeMillis(); - Assert.assertTrue(after - before >= 1000); + Assert.assertTrue(after - before >= 700); } } -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
