You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by is...@apache.org on 2013/07/29 11:12:36 UTC

git commit: Removed service configuration at the end of test addition since lbConfig is singleton

Updated Branches:
  refs/heads/master 8a7eaee3d -> 2f793dc0e


Removed service configuration at the end of test addition since lbConfig is singleton

Signed-off-by: Isuru Perera <is...@apache.org>


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

Branch: refs/heads/master
Commit: 2f793dc0ed9990696a1531dcccd3d8c21beaf00e
Parents: 8a7eaee
Author: Imesh Gunaratne <im...@wso2.com>
Authored: Mon Jul 29 10:19:19 2013 +0530
Committer: Isuru Perera <is...@apache.org>
Committed: Mon Jul 29 14:41:43 2013 +0530

----------------------------------------------------------------------
 .../mediator/autoscale/lbautoscale/AppDomainContextsTest.java     | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/2f793dc0/components/org.apache.stratos.mediator.autoscale/src/test/java/org/apache/stratos/mediator/autoscale/lbautoscale/AppDomainContextsTest.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.mediator.autoscale/src/test/java/org/apache/stratos/mediator/autoscale/lbautoscale/AppDomainContextsTest.java b/components/org.apache.stratos.mediator.autoscale/src/test/java/org/apache/stratos/mediator/autoscale/lbautoscale/AppDomainContextsTest.java
index 98a41a3..8d467f6 100644
--- a/components/org.apache.stratos.mediator.autoscale/src/test/java/org/apache/stratos/mediator/autoscale/lbautoscale/AppDomainContextsTest.java
+++ b/components/org.apache.stratos.mediator.autoscale/src/test/java/org/apache/stratos/mediator/autoscale/lbautoscale/AppDomainContextsTest.java
@@ -93,6 +93,9 @@ public class AppDomainContextsTest extends TestCase {
         
         Assert.assertEquals(true, map.containsKey("wso2.as3.domain"));
         Assert.assertEquals(true, map.get("wso2.as3.domain").get("mgt") != null);
+
+        // Remove service configuration since lbConfig is singleton
+        lbConfig.removeServiceConfiguration("wso2.as3.domain", "mgt");
     }
 
     @Deprecated // use only for writing test cases