You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ag...@apache.org on 2017/04/17 16:16:14 UTC

ignite git commit: master - Reducing number of iterations in the test

Repository: ignite
Updated Branches:
  refs/heads/master 732dfea91 -> 90bd8b58d


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/master
Commit: 90bd8b58d44a263722451709aaca04e0f6f16184
Parents: 732dfea
Author: Alexey Goncharuk <al...@gmail.com>
Authored: Mon Apr 17 19:16:32 2017 +0300
Committer: Alexey Goncharuk <al...@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;
     }
 
     /**