Repository: stratos Updated Branches: refs/heads/stratos-4.1.x e8ebfdf49 -> 7c47a9d9b
Fix smoke test script to use test goal, adding class comments Project: http://git-wip-us.apache.org/repos/asf/stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/7c47a9d9 Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/7c47a9d9 Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/7c47a9d9 Branch: refs/heads/stratos-4.1.x Commit: 7c47a9d9b218c7f0de1ed06ee716a7c7befbe956 Parents: e8ebfdf Author: Akila Perera <[email protected]> Authored: Tue Sep 15 11:27:17 2015 +0530 Committer: Akila Perera <[email protected]> Committed: Tue Sep 15 11:27:42 2015 +0530 ---------------------------------------------------------------------- .../stratos/integration/common/StratosTestServerManager.java | 4 ++++ .../integration/common/extensions/StratosServerExtension.java | 4 ++++ .../modules/integration/test-integration/run-smoke-test.sh | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/stratos/blob/7c47a9d9/products/stratos/modules/integration/test-common/src/main/java/org/apache/stratos/integration/common/StratosTestServerManager.java ---------------------------------------------------------------------- diff --git a/products/stratos/modules/integration/test-common/src/main/java/org/apache/stratos/integration/common/StratosTestServerManager.java b/products/stratos/modules/integration/test-common/src/main/java/org/apache/stratos/integration/common/StratosTestServerManager.java index ed233c4..d2db900 100644 --- a/products/stratos/modules/integration/test-common/src/main/java/org/apache/stratos/integration/common/StratosTestServerManager.java +++ b/products/stratos/modules/integration/test-common/src/main/java/org/apache/stratos/integration/common/StratosTestServerManager.java @@ -50,6 +50,10 @@ import java.util.Set; import static org.testng.Assert.assertNotNull; import static org.testng.Assert.assertTrue; +/* + * Manager class implementation for Carbon automation engine. It will copy the artifacts needed by Stratos and set the + * relevant ports in configuration files in the runtime. + */ public class StratosTestServerManager extends TestServerManager { private static final Log log = LogFactory.getLog(StratosTestServerManager.class); public static final String PATH_SEP = File.separator; http://git-wip-us.apache.org/repos/asf/stratos/blob/7c47a9d9/products/stratos/modules/integration/test-common/src/main/java/org/apache/stratos/integration/common/extensions/StratosServerExtension.java ---------------------------------------------------------------------- diff --git a/products/stratos/modules/integration/test-common/src/main/java/org/apache/stratos/integration/common/extensions/StratosServerExtension.java b/products/stratos/modules/integration/test-common/src/main/java/org/apache/stratos/integration/common/extensions/StratosServerExtension.java index 3de05c3..e401929 100644 --- a/products/stratos/modules/integration/test-common/src/main/java/org/apache/stratos/integration/common/extensions/StratosServerExtension.java +++ b/products/stratos/modules/integration/test-common/src/main/java/org/apache/stratos/integration/common/extensions/StratosServerExtension.java @@ -35,6 +35,10 @@ import java.net.URI; import static org.testng.Assert.assertNotNull; +/* + * Extension class for Carbon automation engine to start ActiveMQ and Stratos server. This extension will check for + * available ports in runtime and start the servers with port offsets to avoid conflicts. + */ public class StratosServerExtension extends ExecutionListenerExtension { private static final Log log = LogFactory.getLog(StratosServerExtension.class); private TestLogAppender testLogAppender; http://git-wip-us.apache.org/repos/asf/stratos/blob/7c47a9d9/products/stratos/modules/integration/test-integration/run-smoke-test.sh ---------------------------------------------------------------------- diff --git a/products/stratos/modules/integration/test-integration/run-smoke-test.sh b/products/stratos/modules/integration/test-integration/run-smoke-test.sh index b56e956..c49afd1 100755 --- a/products/stratos/modules/integration/test-integration/run-smoke-test.sh +++ b/products/stratos/modules/integration/test-integration/run-smoke-test.sh @@ -21,4 +21,4 @@ # -------------------------------------------------------------- # set -e -mvn clean install -DsuiteFile=src/test/resources/test-suite-smoke.xml +mvn clean test -DsuiteFile=src/test/resources/test-suite-smoke.xml \ No newline at end of file
