You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by dm...@apache.org on 2016/05/16 14:43:07 UTC
[11/21] ignite git commit: ignite-1.6 Added topology wait in
GridCacheTxNodeFailureSelfTest to avoid potential race.
ignite-1.6 Added topology wait in GridCacheTxNodeFailureSelfTest to avoid potential race.
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/5a2aae71
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/5a2aae71
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/5a2aae71
Branch: refs/heads/ignite-3098
Commit: 5a2aae71b11ae34a3cec5f7f525c4c9befce955e
Parents: 5a83151
Author: sboikov <sb...@gridgain.com>
Authored: Mon May 16 15:11:23 2016 +0300
Committer: sboikov <sb...@gridgain.com>
Committed: Mon May 16 15:11:23 2016 +0300
----------------------------------------------------------------------
.../cache/distributed/dht/GridCacheTxNodeFailureSelfTest.java | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ignite/blob/5a2aae71/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridCacheTxNodeFailureSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridCacheTxNodeFailureSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridCacheTxNodeFailureSelfTest.java
index ad122e6..7fe1d61 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridCacheTxNodeFailureSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridCacheTxNodeFailureSelfTest.java
@@ -305,6 +305,8 @@ public class GridCacheTxNodeFailureSelfTest extends GridCommonAbstractTest {
// Check that thread successfully finished.
fut.get();
+ ((IgniteKernal)ignite(0)).context().discovery().topologyFuture(gridCount() + 1).get();
+
awaitPartitionMapExchange();
// Check there are no hanging transactions.