You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by ra...@apache.org on 2015/08/30 20:17:09 UTC

[16/50] [abbrv] stratos git commit: Adding more logs to cluster activation assertion

Adding more logs to cluster activation assertion


Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/2951d403
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/2951d403
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/2951d403

Branch: refs/heads/master
Commit: 2951d4033410211825d9cf7557845198d203ac96
Parents: bbfa6c5
Author: Akila Perera <ra...@gmail.com>
Authored: Fri Aug 28 09:59:44 2015 +0530
Committer: Akila Perera <ra...@gmail.com>
Committed: Fri Aug 28 09:59:44 2015 +0530

----------------------------------------------------------------------
 .../org/apache/stratos/integration/tests/TopologyHandler.java    | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/2951d403/products/stratos/modules/integration/src/test/java/org/apache/stratos/integration/tests/TopologyHandler.java
----------------------------------------------------------------------
diff --git a/products/stratos/modules/integration/src/test/java/org/apache/stratos/integration/tests/TopologyHandler.java b/products/stratos/modules/integration/src/test/java/org/apache/stratos/integration/tests/TopologyHandler.java
index f579718..a0aea77 100644
--- a/products/stratos/modules/integration/src/test/java/org/apache/stratos/integration/tests/TopologyHandler.java
+++ b/products/stratos/modules/integration/src/test/java/org/apache/stratos/integration/tests/TopologyHandler.java
@@ -241,6 +241,8 @@ public class TopologyHandler {
                         }
                     }
                 }
+                log.info("Active instance count of " + activeInstances + " found for [cluster-instance] " + instance
+                        .getInstanceId() + " with [min-count] " + clusterDataHolder.getMinInstances());
                 clusterActive = (activeInstances >= clusterDataHolder.getMinInstances());
                 assertTrue(String.format("Cluster status did not change to active: [cluster-id] %s", clusterId),
                         clusterActive);
@@ -691,4 +693,4 @@ public class TopologyHandler {
     public void setActivateddMembers(Map<String, Long> activateddMembers) {
         this.activateddMembers = activateddMembers;
     }
-}
+}
\ No newline at end of file