You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by kw...@apache.org on 2017/12/09 16:26:29 UTC

[sling-org-apache-sling-validation-core] branch master updated: add some sleep time, because even waitStartBundle does not really wait

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

kwin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-validation-core.git


The following commit(s) were added to refs/heads/master by this push:
     new 935071f  add some sleep time, because even waitStartBundle does not really wait
935071f is described below

commit 935071f5f41c58499890e451d4bb16fc0147659e
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Sat Dec 9 17:26:26 2017 +0100

    add some sleep time, because even waitStartBundle does not really wait
---
 .../org/apache/sling/validation/impl/it/tests/ValidationServiceIT.java  | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/test/java/org/apache/sling/validation/impl/it/tests/ValidationServiceIT.java b/src/test/java/org/apache/sling/validation/impl/it/tests/ValidationServiceIT.java
index 5f3bd42..7825fd7 100644
--- a/src/test/java/org/apache/sling/validation/impl/it/tests/ValidationServiceIT.java
+++ b/src/test/java/org/apache/sling/validation/impl/it/tests/ValidationServiceIT.java
@@ -65,6 +65,8 @@ public class ValidationServiceIT {
         // also wait for the test-services to be active, see https://issues.apache.org/jira/browse/SLING-7297
         // we cannot explicitly wait for that, but waiting until the bundle has been started should be enough here
         slingClient.waitStartBundle("org.apache.sling.validation.test-services", 10000, 100);
+        // plus a little sleep time
+        Thread.sleep(2000);
     }
 
     @Test

-- 
To stop receiving notification emails like this one, please contact
['"commits@sling.apache.org" <co...@sling.apache.org>'].