ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sevdoki...@apache.org
Subject [05/18] incubator-ignite git commit: # IGNITE-403 Added IgniteCacheStartStopLoadTest Fix test.
Date Wed, 11 Mar 2015 11:29:10 GMT
# IGNITE-403 Added IgniteCacheStartStopLoadTest Fix test.


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

Branch: refs/heads/ignite-421
Commit: b6876f30698e5c0812a992e6f68083a730b0c5ed
Parents: 67d6552
Author: sevdokimov <sevdokimov@gridgain.com>
Authored: Tue Mar 10 14:39:42 2015 +0300
Committer: sevdokimov <sevdokimov@gridgain.com>
Committed: Tue Mar 10 14:39:42 2015 +0300

----------------------------------------------------------------------
 .../processors/cache/IgniteCacheStartStopLoadTest.java        | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/b6876f30/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheStartStopLoadTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheStartStopLoadTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheStartStopLoadTest.java
index 28cd09b..47a05cb 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheStartStopLoadTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheStartStopLoadTest.java
@@ -18,6 +18,7 @@
 package org.apache.ignite.internal.processors.cache;
 
 import org.apache.ignite.*;
+import org.apache.ignite.cache.*;
 import org.apache.ignite.configuration.*;
 import org.apache.ignite.internal.*;
 import org.apache.ignite.testframework.*;
@@ -105,10 +106,8 @@ public class IgniteCacheStartStopLoadTest extends GridCommonAbstractTest
{
             for (IgniteInternalFuture<?> fut : futs)
                 fut.get();
 
-            for (int i = 0; i < nodeCount(); i++) {
-                for (String cacheName : CACHE_NAMES)
-                    assert ignite(i).jcache(cacheName) != null;
-            }
+            for (String cacheName : CACHE_NAMES)
+                assert ignite(0).jcache(cacheName) != null;
 
             if (weakMap == null) {
                 weakMap = new WeakHashMap<>();


Mime
View raw message