ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sevdoki...@apache.org
Subject incubator-ignite git commit: # IGNITE-709 Fix GridEventConsumeSelfTest.testMasterNodeLeave
Date Sun, 24 May 2015 19:51:30 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-709_2 97533b331 -> 4b790a8fd


# IGNITE-709 Fix GridEventConsumeSelfTest.testMasterNodeLeave


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

Branch: refs/heads/ignite-709_2
Commit: 4b790a8fdd109daf67b38fcd5b032951b2b785e6
Parents: 97533b3
Author: sevdokimov <sergey.evdokimov@jetbrains.com>
Authored: Sun May 24 22:51:24 2015 +0300
Committer: sevdokimov <sergey.evdokimov@jetbrains.com>
Committed: Sun May 24 22:51:24 2015 +0300

----------------------------------------------------------------------
 .../internal/processors/continuous/GridEventConsumeSelfTest.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/4b790a8f/modules/core/src/test/java/org/apache/ignite/internal/processors/continuous/GridEventConsumeSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/continuous/GridEventConsumeSelfTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/continuous/GridEventConsumeSelfTest.java
index f41aaa0..223c082 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/continuous/GridEventConsumeSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/continuous/GridEventConsumeSelfTest.java
@@ -860,7 +860,7 @@ public class GridEventConsumeSelfTest extends GridCommonAbstractTest {
         final CountDownLatch latch = new CountDownLatch(GRID_CNT);
 
         for (int i = 0; i < GRID_CNT; i++) {
-            grid(0).events().localListen(new IgnitePredicate<Event>() {
+            grid(i).events().localListen(new IgnitePredicate<Event>() {
                 @Override public boolean apply(Event evt) {
                     if (nodeId.equals(((DiscoveryEvent) evt).eventNode().id()))
                         latch.countDown();


Mime
View raw message