Repository: incubator-ignite Updated Branches: refs/heads/ignite-45 56ae536b7 -> 1496f8081
# ignite-45 added tests for default xml configs Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/1496f808 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/1496f808 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/1496f808 Branch: refs/heads/ignite-45 Commit: 1496f8081b2f95e526c9e4875b8f90dfb75d1f19 Parents: 56ae536 Author: sboikov <semen.boi...@inria.fr> Authored: Sat Mar 21 12:09:27 2015 +0300 Committer: sboikov <semen.boi...@inria.fr> Committed: Sat Mar 21 12:09:27 2015 +0300 ---------------------------------------------------------------------- .../ignite/internal/GridFactorySelfTest.java | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/1496f808/modules/spring/src/test/java/org/apache/ignite/internal/GridFactorySelfTest.java ---------------------------------------------------------------------- diff --git a/modules/spring/src/test/java/org/apache/ignite/internal/GridFactorySelfTest.java b/modules/spring/src/test/java/org/apache/ignite/internal/GridFactorySelfTest.java index 6bd50de..8f4c5dd 100644 --- a/modules/spring/src/test/java/org/apache/ignite/internal/GridFactorySelfTest.java +++ b/modules/spring/src/test/java/org/apache/ignite/internal/GridFactorySelfTest.java @@ -82,7 +82,7 @@ public class GridFactorySelfTest extends GridCommonAbstractTest { /** * @throws Exception If failed. */ - public void testStartDefault() throws Exception { + public void testIgnitionStartDefault() throws Exception { try (Ignite ignite = Ignition.start()) { log.info("Started1: " + ignite.name()); @@ -104,6 +104,24 @@ public class GridFactorySelfTest extends GridCommonAbstractTest { /** * @throws Exception If failed. */ + public void testStartFabricDefault() throws Exception { + try (Ignite ignite = Ignition.start("config/fabric/default-config.xml")) { + log.info("Started: " + ignite.name()); + } + } + + /** + * @throws Exception If failed. + */ + public void testStartDefault() throws Exception { + try (Ignite ignite = Ignition.start("config/default-config.xml")) { + log.info("Started: " + ignite.name()); + } + } + + /** + * @throws Exception If failed. + */ public void testStartGridWithConfigUrlString() throws Exception { GridEmbeddedHttpServer srv = null; String gridName = "grid_with_url_config";