Repository: ignite Updated Branches: refs/heads/ignite-1171 f5dcaf35e -> af23e31f0
Fixed test. Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/af23e31f Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/af23e31f Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/af23e31f Branch: refs/heads/ignite-1171 Commit: af23e31f08d72212091f60cc3cd15fbfca7b7590 Parents: f5dcaf3 Author: sboikov <[email protected]> Authored: Wed Sep 23 10:01:13 2015 +0300 Committer: sboikov <[email protected]> Committed: Wed Sep 23 10:01:13 2015 +0300 ---------------------------------------------------------------------- .../spi/discovery/tcp/TcpDiscoverySelfTest.java | 35 +++++++++++++++++--- 1 file changed, 30 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/af23e31f/modules/core/src/test/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoverySelfTest.java ---------------------------------------------------------------------- diff --git a/modules/core/src/test/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoverySelfTest.java b/modules/core/src/test/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoverySelfTest.java index 7354cd3..0280e9c 100644 --- a/modules/core/src/test/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoverySelfTest.java +++ b/modules/core/src/test/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoverySelfTest.java @@ -1179,21 +1179,36 @@ public class TcpDiscoverySelfTest extends GridCommonAbstractTest { * @throws Exception If failed */ public void testCustomEventRace1_1() throws Exception { - customEventRace1(true, false); + try { + customEventRace1(true, false); + } + finally { + stopAllGrids(); + } } /** * @throws Exception If failed */ public void testCustomEventRace1_2() throws Exception { - customEventRace1(false, false); + try { + customEventRace1(false, false); + } + finally { + stopAllGrids(); + } } /** * @throws Exception If failed */ public void testCustomEventRace1_3() throws Exception { - customEventRace1(true, true); + try { + customEventRace1(true, true); + } + finally { + stopAllGrids(); + } } /** @@ -1289,14 +1304,24 @@ public class TcpDiscoverySelfTest extends GridCommonAbstractTest { * @throws Exception If failed */ public void testCustomEventCoordinatorFailure1() throws Exception { - customEventCoordinatorFailure(true); + try { + customEventCoordinatorFailure(true); + } + finally { + stopAllGrids(); + } } /** * @throws Exception If failed */ public void testCustomEventCoordinatorFailure2() throws Exception { - customEventCoordinatorFailure(false); + try { + customEventCoordinatorFailure(false); + } + finally { + stopAllGrids(); + } } /**
