Fixed GridCommonAbstractTest.awaitPartitionMapExchange.

Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/60a76bc8
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/60a76bc8
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/60a76bc8

Branch: refs/heads/ignite-1093-2
Commit: 60a76bc882cd5ecf8db05661a4d576fc4d09d9ab
Parents: 857ab7e
Author: sboikov <[email protected]>
Authored: Wed Sep 9 10:13:25 2015 +0300
Committer: sboikov <[email protected]>
Committed: Wed Sep 9 10:13:25 2015 +0300

----------------------------------------------------------------------
 .../ignite/testframework/junits/common/GridCommonAbstractTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/60a76bc8/modules/core/src/test/java/org/apache/ignite/testframework/junits/common/GridCommonAbstractTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/testframework/junits/common/GridCommonAbstractTest.java
 
b/modules/core/src/test/java/org/apache/ignite/testframework/junits/common/GridCommonAbstractTest.java
index 44ca051..4bcf51e 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/testframework/junits/common/GridCommonAbstractTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/testframework/junits/common/GridCommonAbstractTest.java
@@ -430,7 +430,7 @@ public abstract class GridCommonAbstractTest extends 
GridAbstractTest {
 
                             AffinityTopologyVersion readyVer = 
dht.context().shared().exchange().readyAffinityVersion();
 
-                            if (readyVer.topologyVersion() > 0 && 
dht.context().started()) {
+                            if (readyVer.topologyVersion() > 0 && 
c.context().started()) {
                                 // Must map on updated version of topology.
                                 Collection<ClusterNode> affNodes =
                                     
g0.affinity(cfg.getName()).mapPartitionToPrimaryAndBackups(p);

Reply via email to