ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agoncha...@apache.org
Subject [2/4] incubator-ignite git commit: IGNITE-45 - Fixed test timeout.
Date Sun, 22 Mar 2015 05:00:00 GMT
IGNITE-45 - Fixed test timeout.


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

Branch: refs/heads/ignite-45
Commit: b98be0c669ad701b6a3f633e012bf6ec724964b2
Parents: 4971a58
Author: Alexey Goncharuk <agoncharuk@gridgain.com>
Authored: Sat Mar 21 21:57:42 2015 -0700
Committer: Alexey Goncharuk <agoncharuk@gridgain.com>
Committed: Sat Mar 21 21:57:42 2015 -0700

----------------------------------------------------------------------
 .../GridCacheOffHeapTieredEvictionAbstractSelfTest.java     | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/b98be0c6/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheOffHeapTieredEvictionAbstractSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheOffHeapTieredEvictionAbstractSelfTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheOffHeapTieredEvictionAbstractSelfTest.java
index 5b74a9d..0cfb7c2 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheOffHeapTieredEvictionAbstractSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheOffHeapTieredEvictionAbstractSelfTest.java
@@ -18,7 +18,6 @@
 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.util.typedef.*;
 import org.apache.ignite.internal.util.typedef.internal.*;
@@ -57,7 +56,7 @@ public abstract class GridCacheOffHeapTieredEvictionAbstractSelfTest extends
Gri
 
     /** {@inheritDoc} */
     @Override protected long getTestTimeout() {
-        return 60 * 1000;
+        return 120 * 1000;
     }
 
     /** {@inheritDoc} */
@@ -67,6 +66,7 @@ public abstract class GridCacheOffHeapTieredEvictionAbstractSelfTest extends
Gri
         ccfg.setAtomicWriteOrderMode(PRIMARY);
 
         ccfg.setMemoryMode(OFFHEAP_TIERED);
+        ccfg.setNearConfiguration(null);
         ccfg.setOffHeapMaxMemory(0);
 
         return ccfg;
@@ -109,6 +109,8 @@ public abstract class GridCacheOffHeapTieredEvictionAbstractSelfTest extends
Gri
         return atomicityMode() == ATOMIC ? 100_000 : 50_000;
     }
 
+
+
     /**
      * @throws Exception If failed.
      */
@@ -125,6 +127,9 @@ public abstract class GridCacheOffHeapTieredEvictionAbstractSelfTest extends
Gri
                     final TestValue val = vals.get(key % VAL_SIZE);
 
                     cache.put(key, val);
+
+                    if (i % 1_000 == 0 && i > 0)
+                        info("Done " + i + " out of " + iterations());
                 }
 
                 return null;


Mime
View raw message