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

[sling-org-apache-sling-discovery-base] 16/20: SLING-5287 : lowering the testThirtyInstances test to be a testTwentyFourInstances - that should use less memory - lets see if that's enough

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

rombert pushed a commit to annotated tag org.apache.sling.discovery.base-1.1.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-discovery-base.git

commit c6e5b4b87486ff1c21b5d6a161c60b6962f6e2ba
Author: Stefan Egli <st...@apache.org>
AuthorDate: Tue Nov 10 08:32:49 2015 +0000

    SLING-5287 : lowering the testThirtyInstances test to be a testTwentyFourInstances - that should use less memory - lets see if that's enough
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/discovery/base@1713588 13f79535-47bb-0310-9956-ffa450edef68
---
 .../sling/discovery/base/its/AbstractDiscoveryServiceTest.java | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/test/java/org/apache/sling/discovery/base/its/AbstractDiscoveryServiceTest.java b/src/test/java/org/apache/sling/discovery/base/its/AbstractDiscoveryServiceTest.java
index 978e9a9..3d86138 100644
--- a/src/test/java/org/apache/sling/discovery/base/its/AbstractDiscoveryServiceTest.java
+++ b/src/test/java/org/apache/sling/discovery/base/its/AbstractDiscoveryServiceTest.java
@@ -307,19 +307,19 @@ public abstract class AbstractDiscoveryServiceTest {
     }
 
     @Test
-    public void testThirtyInstances() throws Throwable {
-        logger.info("testThirtyInstances: start");
+    public void testTwentyFourInstances() throws Throwable {
+        logger.info("testTwentyFourInstances: start");
         Tester i1 = newInstance("i1", 4, 120, 1000, null);
-        for(int i=2; i<=30; i++) {
+        for(int i=2; i<=24; i++) {
             Tester in = newInstance("i"+i, 4, 120, 2000, i1.instance);
             Thread.sleep(1000);
         }
-        logger.info("testThirtyInstances: starting retry loop (180sec max)");
+        logger.info("testTwentyFourInstances: starting retry loop (180sec max)");
         startRetryLoop(testers, 180);
         i1.instance.dumpRepo();
         i1.assertNoFailures();
         assertStableTopology(testers.toArray(new Tester[0]));
-        logger.info("testThirtyInstances: end");
+        logger.info("testTwentyFourInstances: end");
     }
     
     private void startRetryLoop(final List<Tester> testers, int retryTimeoutSeconds) {

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