ignite-94 removed broken test
Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/36f1e077 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/36f1e077 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/36f1e077 Branch: refs/heads/ignite-99-2 Commit: 36f1e077b7f251787fb10038cfcc9cca2d8cec95 Parents: 85e20e8 Author: avinogradov <avinogra...@gridgain.com> Authored: Mon Jan 26 17:35:44 2015 +0300 Committer: avinogradov <avinogra...@gridgain.com> Committed: Mon Jan 26 17:45:02 2015 +0300 ---------------------------------------------------------------------- .../examples/ScalarStartStopExample.scala | 73 -------------------- .../tests/examples/ScalarExamplesSelfTest.scala | 5 -- 2 files changed, 78 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/36f1e077/examples/src/main/scala/org/apache/ignite/scalar/examples/ScalarStartStopExample.scala ---------------------------------------------------------------------- diff --git a/examples/src/main/scala/org/apache/ignite/scalar/examples/ScalarStartStopExample.scala b/examples/src/main/scala/org/apache/ignite/scalar/examples/ScalarStartStopExample.scala deleted file mode 100644 index e5042a1..0000000 --- a/examples/src/main/scala/org/apache/ignite/scalar/examples/ScalarStartStopExample.scala +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.apache.ignite.scalar.examples - -import org.apache.ignite.Ignite -import org.apache.ignite.scalar.scalar -import org.apache.ignite.scalar.scalar._ - -/** - * Demonstrates various starting and stopping ways of grid using Scalar. - * <p> - * Grid nodes in this example start with the default configuration file `'GRIDGAIN_HOME/config/default-config.xml'`. - * <p> - * Remote nodes should also be started with the default one: `'ggstart.{sh|bat}'`. - */ -object ScalarStartStopExample { - /** - * Example entry point. No arguments required. - */ - def main(args: Array[String]) { - way1() - way2() - way3() - } - - /** - * One way to start GridGain. - */ - def way1() { - scalar { - println("Hurrah - I'm in the grid!") - println("Local node ID is: " + grid$.cluster().localNode.id) - } - } - - /** - * One way to start GridGain. - */ - def way2() { - scalar.start() - - try { - println("Hurrah - I'm in the grid!") - } - finally { - scalar.stop() - } - } - - /** - * One way to start GridGain. - */ - def way3() { - scalar { g: Ignite => - println("Hurrah - local node ID is: " + g.cluster().localNode.id) - } - } -} http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/36f1e077/examples/src/test/scala/org/apache/ignite/scalar/tests/examples/ScalarExamplesSelfTest.scala ---------------------------------------------------------------------- diff --git a/examples/src/test/scala/org/apache/ignite/scalar/tests/examples/ScalarExamplesSelfTest.scala b/examples/src/test/scala/org/apache/ignite/scalar/tests/examples/ScalarExamplesSelfTest.scala index 63858d3..6852ac9 100644 --- a/examples/src/test/scala/org/apache/ignite/scalar/tests/examples/ScalarExamplesSelfTest.scala +++ b/examples/src/test/scala/org/apache/ignite/scalar/tests/examples/ScalarExamplesSelfTest.scala @@ -97,11 +97,6 @@ class ScalarExamplesSelfTest extends GridAbstractExamplesTest with JUnitSuiteLik } /** */ - def testScalarStartStopExample() { - ScalarStartStopExample.main(EMPTY_ARGS) - } - - /** */ def testScalarTaskExample() { ScalarTaskExample.main(EMPTY_ARGS) }