ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [33/37] incubator-ignite git commit: #ignite-373: Change removeAll test - use default cache configuration and sleep before getting size.
Date Tue, 12 May 2015 11:30:52 GMT
#ignite-373: Change removeAll test - use default cache configuration and sleep before getting
size.


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

Branch: refs/heads/ignite-373
Commit: f8cdd4392f48b22e43af161e407a0fcfba984ded
Parents: 24e1d00
Author: ivasilinets <ivasilinets@gridgain.com>
Authored: Tue May 12 13:54:21 2015 +0300
Committer: ivasilinets <ivasilinets@gridgain.com>
Committed: Tue May 12 13:54:21 2015 +0300

----------------------------------------------------------------------
 .../internal/processors/cache/CacheRemoveAllSelfTest.java   | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f8cdd439/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/CacheRemoveAllSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/CacheRemoveAllSelfTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/CacheRemoveAllSelfTest.java
index 10476d7..f5de96f 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/CacheRemoveAllSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/CacheRemoveAllSelfTest.java
@@ -19,8 +19,8 @@ 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.internal.util.typedef.internal.*;
 import org.apache.ignite.testframework.*;
 
 import java.util.concurrent.*;
@@ -40,11 +40,6 @@ public class CacheRemoveAllSelfTest extends GridCacheAbstractSelfTest {
         return 4;
     }
 
-    /** {@inheritDoc} */
-    @Override protected NearCacheConfiguration nearConfiguration() {
-        return null;
-    }
-
     /**
      * @throws Exception If failed.
      */
@@ -69,6 +64,8 @@ public class CacheRemoveAllSelfTest extends GridCacheAbstractSelfTest {
 
         fut.get();
 
+        U.sleep(5000);
+
         for (int i = 0; i < igniteId.get(); ++i) {
             IgniteCache locCache = grid(i).cache(null);
 


Mime
View raw message