ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject ignite git commit: ignite-1.6 Added topology wait in GridCacheTxNodeFailureSelfTest to avoid potential race.
Date Mon, 16 May 2016 12:11:33 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-1.6 5a8315196 -> 5a2aae71b


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-1.6
Commit: 5a2aae71b11ae34a3cec5f7f525c4c9befce955e
Parents: 5a83151
Author: sboikov <sboikov@gridgain.com>
Authored: Mon May 16 15:11:23 2016 +0300
Committer: sboikov <sboikov@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.


Mime
View raw message