ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agoncha...@apache.org
Subject [27/50] [abbrv] ignite git commit: master - Reducing number of iterations in the test
Date Tue, 18 Apr 2017 10:37:23 GMT
master - Reducing number of iterations in the test


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

Branch: refs/heads/ignite-4986
Commit: 90bd8b58d44a263722451709aaca04e0f6f16184
Parents: 732dfea
Author: Alexey Goncharuk <alexey.goncharuk@gmail.com>
Authored: Mon Apr 17 19:16:32 2017 +0300
Committer: Alexey Goncharuk <alexey.goncharuk@gmail.com>
Committed: Mon Apr 17 19:16:49 2017 +0300

----------------------------------------------------------------------
 .../GridCacheOffHeapMultiThreadedUpdateAbstractSelfTest.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/90bd8b58/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheOffHeapMultiThreadedUpdateAbstractSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheOffHeapMultiThreadedUpdateAbstractSelfTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheOffHeapMultiThreadedUpdateAbstractSelfTest.java
index fbf8546..469f662 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheOffHeapMultiThreadedUpdateAbstractSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheOffHeapMultiThreadedUpdateAbstractSelfTest.java
@@ -88,7 +88,7 @@ public abstract class GridCacheOffHeapMultiThreadedUpdateAbstractSelfTest
extend
         cache.put(key, 0);
 
         final int THREADS = 5;
-        final int ITERATIONS_PER_THREAD = 10_000;
+        final int ITERATIONS_PER_THREAD = iterations();
 
         GridTestUtils.runMultiThreaded(new Callable<Void>() {
             @Override public Void call() throws Exception {
@@ -296,7 +296,7 @@ public abstract class GridCacheOffHeapMultiThreadedUpdateAbstractSelfTest
extend
      * @return Number of iterations.
      */
     protected int iterations() {
-        return 10_000;
+        return 1_000;
     }
 
     /**


Mime
View raw message