Repository: incubator-ignite Updated Branches: refs/heads/ignite-837 08660fe8f -> 8ceed37bb
ignite-786: delete Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/8ceed37b Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/8ceed37b Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/8ceed37b Branch: refs/heads/ignite-837 Commit: 8ceed37bb39c960aa4bba13af7df9a49f7815171 Parents: 08660fe Author: Artem Shutak <ashu...@gridgain.com> Authored: Tue Apr 28 20:06:46 2015 +0300 Committer: Artem Shutak <ashu...@gridgain.com> Committed: Tue Apr 28 20:06:46 2015 +0300 ---------------------------------------------------------------------- .../java/org/apache/ignite/StopNodesTest.java | 49 -------------------- 1 file changed, 49 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8ceed37b/modules/core/src/test/java/org/apache/ignite/StopNodesTest.java ---------------------------------------------------------------------- diff --git a/modules/core/src/test/java/org/apache/ignite/StopNodesTest.java b/modules/core/src/test/java/org/apache/ignite/StopNodesTest.java deleted file mode 100644 index 0afe2d6..0000000 --- a/modules/core/src/test/java/org/apache/ignite/StopNodesTest.java +++ /dev/null @@ -1,49 +0,0 @@ -/* @java.file.header */ - -/* _________ _____ __________________ _____ - * __ ____/___________(_)______ /__ ____/______ ____(_)_______ - * _ / __ __ ___/__ / _ __ / _ / __ _ __ `/__ / __ __ \ - * / /_/ / _ / _ / / /_/ / / /_/ / / /_/ / _ / _ / / / - * \____/ /_/ /_/ \_,__/ \____/ \__,_/ /_/ /_/ /_/ - */ - -package org.apache.ignite; - -import org.apache.ignite.configuration.*; -import org.apache.ignite.events.*; -import org.apache.ignite.internal.util.typedef.internal.*; -import org.apache.ignite.lang.*; - -import java.util.concurrent.*; - -import static java.util.concurrent.TimeUnit.*; -import static org.apache.ignite.events.EventType.*; - -/** - * TODO: Add class description. - * - * @author @java.author - * @version @java.version - */ -public class StopNodesTest { - public static void main(String[] args) throws Exception{ - Ignite ignite = Ignition.start(new IgniteConfiguration()); - - U.sleep(10000); - - final CountDownLatch leftLatch = new CountDownLatch(1); - - ignite.events().localListen(new IgnitePredicate<Event>() { - @Override public boolean apply(Event evt) { - leftLatch.countDown(); - - return true; - } - }, EVT_NODE_LEFT); - - - ignite.cluster().stopNodes(); - - assert leftLatch.await(40, SECONDS); - } -}