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.0.2
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-discovery-base.git

commit 3e1f21d277efe890627517fecd80a61af8a572a1
Author: Stefan Egli <[email protected]>
AuthorDate: Thu Oct 29 14:17:14 2015 +0000

    SLING-5126 : another test variant added
    
    git-svn-id: 
https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/discovery/base@1711272
 13f79535-47bb-0310-9956-ffa450edef68
---
 .../sling/discovery/base/its/AbstractClusterLoadTest.java     | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git 
a/src/test/java/org/apache/sling/discovery/base/its/AbstractClusterLoadTest.java
 
b/src/test/java/org/apache/sling/discovery/base/its/AbstractClusterLoadTest.java
index 1e934fd..7667335 100644
--- 
a/src/test/java/org/apache/sling/discovery/base/its/AbstractClusterLoadTest.java
+++ 
b/src/test/java/org/apache/sling/discovery/base/its/AbstractClusterLoadTest.java
@@ -136,7 +136,12 @@ public abstract class AbstractClusterLoadTest {
 
     @Test
     public void testSevenInstances() throws Throwable {
-       doTest(7, 10);
+        doTest(7, 10);
+    }
+    
+    @Test
+    public void testEightInstances() throws Throwable {
+        doTest(8, 50);
     }
 
     private void doTest(final int size, final int loopCnt) throws Throwable {
@@ -167,7 +172,7 @@ public abstract class AbstractClusterLoadTest {
                }
         VirtualInstanceBuilder builder = newBuilder()
                 
.newRepository("/var/discovery/impl/ClusterLoadTest/doTest-"+size+"-"+loopCnt+"/",
 true)
-                .setDebugName("firstInstance")
+                .setDebugName("firstInstance-"+size+"_"+loopCnt)
                 .setConnectorPingTimeout(3)
                 .setConnectorPingInterval(20)
                 .setMinEventDelay(0);
@@ -177,7 +182,7 @@ public abstract class AbstractClusterLoadTest {
                for(int i=1; i<size; i++) {
                    VirtualInstanceBuilder builder2 = newBuilder()
                            .useRepositoryOf(builder)
-                           .setDebugName("subsequentInstance-"+i)
+                           
.setDebugName("subsequentInstance-"+i+"-"+size+"_"+loopCnt)
                        .setConnectorPingTimeout(3)
                        .setMinEventDelay(0)
                        .setConnectorPingInterval(20);

-- 
To stop receiving notification emails like this one, please contact
"[email protected]" <[email protected]>.

Reply via email to