Repository: stratos Updated Branches: refs/heads/stratos-4.1.x cd614e8bd -> 8ff6a2ab0
Adding smoke test group for PCA Project: http://git-wip-us.apache.org/repos/asf/stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/8ff6a2ab Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/8ff6a2ab Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/8ff6a2ab Branch: refs/heads/stratos-4.1.x Commit: 8ff6a2ab06866e9193713b7d9c687a663db19be6 Parents: cd614e8 Author: Akila Perera <[email protected]> Authored: Wed Sep 16 16:05:33 2015 +0530 Committer: Akila Perera <[email protected]> Committed: Wed Sep 16 16:05:33 2015 +0530 ---------------------------------------------------------------------- .../agent/integration/tests/ADCMTAppTenantUserTestCase.java | 4 ++-- .../cartridge/agent/integration/tests/ADCMTAppTestCase.java | 4 ++-- .../python/cartridge/agent/integration/tests/ADCTestCase.java | 4 ++-- .../cartridge/agent/integration/tests/AgentStartupTestCase.java | 4 ++-- .../test-integration/src/test/resources/test-suite-smoke.xml | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/stratos/blob/8ff6a2ab/products/python-cartridge-agent/modules/integration/test-integration/src/test/java/org/apache/stratos/python/cartridge/agent/integration/tests/ADCMTAppTenantUserTestCase.java ---------------------------------------------------------------------- diff --git a/products/python-cartridge-agent/modules/integration/test-integration/src/test/java/org/apache/stratos/python/cartridge/agent/integration/tests/ADCMTAppTenantUserTestCase.java b/products/python-cartridge-agent/modules/integration/test-integration/src/test/java/org/apache/stratos/python/cartridge/agent/integration/tests/ADCMTAppTenantUserTestCase.java index 9705a22..fa5168e 100644 --- a/products/python-cartridge-agent/modules/integration/test-integration/src/test/java/org/apache/stratos/python/cartridge/agent/integration/tests/ADCMTAppTenantUserTestCase.java +++ b/products/python-cartridge-agent/modules/integration/test-integration/src/test/java/org/apache/stratos/python/cartridge/agent/integration/tests/ADCMTAppTenantUserTestCase.java @@ -56,7 +56,7 @@ public class ADCMTAppTenantUserTestCase extends PythonAgentIntegrationTest { public ADCMTAppTenantUserTestCase() throws IOException { } - @BeforeMethod + @BeforeMethod(alwaysRun = true) public void setupADCMTAppTest() throws Exception { log.info("Setting up ADCMTAppTenantUserTestCase"); // Set jndi.properties.dir system property for initializing event publishers and receivers @@ -72,7 +72,7 @@ public class ADCMTAppTenantUserTestCase extends PythonAgentIntegrationTest { /** * TearDown method for test method testPythonCartridgeAgent */ - @AfterMethod + @AfterMethod(alwaysRun = true) public void tearDownADCMTAppTest() { // TODO: app path is duplicated in Java test and payload tearDown(APPLICATION_PATH); http://git-wip-us.apache.org/repos/asf/stratos/blob/8ff6a2ab/products/python-cartridge-agent/modules/integration/test-integration/src/test/java/org/apache/stratos/python/cartridge/agent/integration/tests/ADCMTAppTestCase.java ---------------------------------------------------------------------- diff --git a/products/python-cartridge-agent/modules/integration/test-integration/src/test/java/org/apache/stratos/python/cartridge/agent/integration/tests/ADCMTAppTestCase.java b/products/python-cartridge-agent/modules/integration/test-integration/src/test/java/org/apache/stratos/python/cartridge/agent/integration/tests/ADCMTAppTestCase.java index caaf291..de479b4 100644 --- a/products/python-cartridge-agent/modules/integration/test-integration/src/test/java/org/apache/stratos/python/cartridge/agent/integration/tests/ADCMTAppTestCase.java +++ b/products/python-cartridge-agent/modules/integration/test-integration/src/test/java/org/apache/stratos/python/cartridge/agent/integration/tests/ADCMTAppTestCase.java @@ -58,7 +58,7 @@ public class ADCMTAppTestCase extends PythonAgentIntegrationTest { public ADCMTAppTestCase() throws IOException { } - @BeforeMethod + @BeforeMethod(alwaysRun = true) public void setupADCMTAppTest() throws Exception { log.info("Setting up ADCMTAppTestCase"); // Set jndi.properties.dir system property for initializing event publishers and receivers @@ -74,7 +74,7 @@ public class ADCMTAppTestCase extends PythonAgentIntegrationTest { /** * TearDown method for test method testPythonCartridgeAgent */ - @AfterMethod + @AfterMethod(alwaysRun = true) public void tearDownADCMTAppTest() { // TODO: app path is duplicated in Java test and payload tearDown(APPLICATION_PATH); http://git-wip-us.apache.org/repos/asf/stratos/blob/8ff6a2ab/products/python-cartridge-agent/modules/integration/test-integration/src/test/java/org/apache/stratos/python/cartridge/agent/integration/tests/ADCTestCase.java ---------------------------------------------------------------------- diff --git a/products/python-cartridge-agent/modules/integration/test-integration/src/test/java/org/apache/stratos/python/cartridge/agent/integration/tests/ADCTestCase.java b/products/python-cartridge-agent/modules/integration/test-integration/src/test/java/org/apache/stratos/python/cartridge/agent/integration/tests/ADCTestCase.java index 7941e9f..c5ed413 100755 --- a/products/python-cartridge-agent/modules/integration/test-integration/src/test/java/org/apache/stratos/python/cartridge/agent/integration/tests/ADCTestCase.java +++ b/products/python-cartridge-agent/modules/integration/test-integration/src/test/java/org/apache/stratos/python/cartridge/agent/integration/tests/ADCTestCase.java @@ -59,7 +59,7 @@ public class ADCTestCase extends PythonAgentIntegrationTest { public ADCTestCase() throws IOException { } - @BeforeMethod + @BeforeMethod(alwaysRun = true) public void setupADCTest() throws Exception { log.info("Setting up ADCTestCase"); // Set jndi.properties.dir system property for initializing event publishers and receivers @@ -75,7 +75,7 @@ public class ADCTestCase extends PythonAgentIntegrationTest { /** * TearDown method for test method testPythonCartridgeAgent */ - @AfterMethod + @AfterMethod(alwaysRun = true) public void tearDownADCTest() { // TODO: app path is duplicated in Java test and payload tearDown(APPLICATION_PATH); http://git-wip-us.apache.org/repos/asf/stratos/blob/8ff6a2ab/products/python-cartridge-agent/modules/integration/test-integration/src/test/java/org/apache/stratos/python/cartridge/agent/integration/tests/AgentStartupTestCase.java ---------------------------------------------------------------------- diff --git a/products/python-cartridge-agent/modules/integration/test-integration/src/test/java/org/apache/stratos/python/cartridge/agent/integration/tests/AgentStartupTestCase.java b/products/python-cartridge-agent/modules/integration/test-integration/src/test/java/org/apache/stratos/python/cartridge/agent/integration/tests/AgentStartupTestCase.java index 45044ec..0ae872a 100755 --- a/products/python-cartridge-agent/modules/integration/test-integration/src/test/java/org/apache/stratos/python/cartridge/agent/integration/tests/AgentStartupTestCase.java +++ b/products/python-cartridge-agent/modules/integration/test-integration/src/test/java/org/apache/stratos/python/cartridge/agent/integration/tests/AgentStartupTestCase.java @@ -60,7 +60,7 @@ public class AgentStartupTestCase extends PythonAgentIntegrationTest { public AgentStartupTestCase() throws IOException { } - @BeforeMethod + @BeforeMethod(alwaysRun = true) public void setupAgentStartupTest() throws Exception { log.info("Setting up AgentStartupTestCase"); // Set jndi.properties.dir system property for initializing event publishers and receivers @@ -77,7 +77,7 @@ public class AgentStartupTestCase extends PythonAgentIntegrationTest { /** * TearDown method for test method testPythonCartridgeAgent */ - @AfterMethod + @AfterMethod(alwaysRun = true) public void tearDownAgentStartupTest() { tearDown(); } http://git-wip-us.apache.org/repos/asf/stratos/blob/8ff6a2ab/products/python-cartridge-agent/modules/integration/test-integration/src/test/resources/test-suite-smoke.xml ---------------------------------------------------------------------- diff --git a/products/python-cartridge-agent/modules/integration/test-integration/src/test/resources/test-suite-smoke.xml b/products/python-cartridge-agent/modules/integration/test-integration/src/test/resources/test-suite-smoke.xml index b1e4633..bcac412 100755 --- a/products/python-cartridge-agent/modules/integration/test-integration/src/test/resources/test-suite-smoke.xml +++ b/products/python-cartridge-agent/modules/integration/test-integration/src/test/resources/test-suite-smoke.xml @@ -21,7 +21,7 @@ <!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" > <suite name="PythonCartridgeAgentSmokeTestSuite"> - <test name="all" preserve-order="true" parallel="false"> + <test name="smoke" preserve-order="true" parallel="false"> <groups> <run> <include name="smoke"/>
