You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by ga...@apache.org on 2015/11/25 18:37:20 UTC

stratos git commit: Adding depends on groups for server restart test

Repository: stratos
Updated Branches:
  refs/heads/stratos-4.1.x 8efb2d929 -> 4e868f24f


Adding depends on groups for server restart test


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

Branch: refs/heads/stratos-4.1.x
Commit: 4e868f24f92d3090a8427f9511001b1e43034e30
Parents: 8efb2d9
Author: gayangunarathne <ga...@wso2.com>
Authored: Wed Nov 25 23:06:51 2015 +0530
Committer: gayangunarathne <ga...@wso2.com>
Committed: Wed Nov 25 23:06:51 2015 +0530

----------------------------------------------------------------------
 .../tests/server/StratosServerRestartTestCase.java     | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/4e868f24/products/stratos/modules/integration/test-integration/src/test/java/org/apache/stratos/integration/tests/server/StratosServerRestartTestCase.java
----------------------------------------------------------------------
diff --git a/products/stratos/modules/integration/test-integration/src/test/java/org/apache/stratos/integration/tests/server/StratosServerRestartTestCase.java b/products/stratos/modules/integration/test-integration/src/test/java/org/apache/stratos/integration/tests/server/StratosServerRestartTestCase.java
index ea34753..569152a 100644
--- a/products/stratos/modules/integration/test-integration/src/test/java/org/apache/stratos/integration/tests/server/StratosServerRestartTestCase.java
+++ b/products/stratos/modules/integration/test-integration/src/test/java/org/apache/stratos/integration/tests/server/StratosServerRestartTestCase.java
@@ -19,8 +19,6 @@
 
 package org.apache.stratos.integration.tests.server;
 
-import com.google.gson.Gson;
-import com.google.gson.GsonBuilder;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.stratos.common.beans.application.ApplicationBean;
@@ -31,15 +29,14 @@ import org.apache.stratos.integration.common.extensions.StratosServerExtension;
 import org.apache.stratos.integration.tests.StratosIntegrationTest;
 import org.apache.stratos.messaging.domain.application.ApplicationStatus;
 import org.apache.stratos.messaging.domain.topology.Member;
-import org.apache.stratos.metadata.client.beans.PropertyBean;
-import org.apache.stratos.mock.iaas.domain.MockInstanceMetadata;
 import org.testng.Assert;
 import org.testng.annotations.Test;
 
-import java.util.*;
+import java.util.List;
+import java.util.Map;
 
-import static org.testng.Assert.*;
-import static org.testng.AssertJUnit.assertFalse;
+import static org.testng.Assert.assertEquals;
+import static org.testng.Assert.assertNull;
 import static org.testng.AssertJUnit.assertTrue;
 
 /**
@@ -58,7 +55,7 @@ public class StratosServerRestartTestCase extends StratosIntegrationTest {
 
     @Test(timeOut = APPLICATION_TEST_TIMEOUT,
             groups = { "stratos.server.restart"},
-            dependsOnGroups = { "stratos.application.deployment" })
+            dependsOnGroups = { "stratos.application.deployment","stratos.cartridge.iaas", "stratos.policy.management","adc","all","smoke","metadata"})
     public void stratosServerRestartTest() throws Exception {
 
         TopologyHandler topologyHandler = TopologyHandler.getInstance();