ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject incubator-ignite git commit: IGNITE-49 Fixed testS.
Date Wed, 21 Jan 2015 06:05:20 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-49 31c2251bc -> 503ad78fd


IGNITE-49 Fixed testS.


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

Branch: refs/heads/ignite-49
Commit: 503ad78fd616182985ce5b023a638ac82f143a16
Parents: 31c2251
Author: nikolay_tikhonov <ntikhonov@gridgain.com>
Authored: Wed Jan 21 09:04:54 2015 +0300
Committer: nikolay_tikhonov <ntikhonov@gridgain.com>
Committed: Wed Jan 21 09:04:54 2015 +0300

----------------------------------------------------------------------
 .../cache/GridCacheAbstractMetricsSelfTest.java | 30 --------------------
 1 file changed, 30 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/503ad78f/modules/core/src/test/java/org/gridgain/grid/kernal/processors/cache/GridCacheAbstractMetricsSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/gridgain/grid/kernal/processors/cache/GridCacheAbstractMetricsSelfTest.java
b/modules/core/src/test/java/org/gridgain/grid/kernal/processors/cache/GridCacheAbstractMetricsSelfTest.java
index 6041915..c9b2f0e 100644
--- a/modules/core/src/test/java/org/gridgain/grid/kernal/processors/cache/GridCacheAbstractMetricsSelfTest.java
+++ b/modules/core/src/test/java/org/gridgain/grid/kernal/processors/cache/GridCacheAbstractMetricsSelfTest.java
@@ -428,36 +428,6 @@ public abstract class GridCacheAbstractMetricsSelfTest extends GridCacheAbstract
     /**
      * @throws Exception If failed.
      */
-    public void testReplaceValAsyncAvgTime() throws Exception {
-        GridCache<Object, Object> cache = grid(0).cache(null);
-
-        Integer key = null;
-
-        for (int i = 0; i < 1000; i++) {
-            if (cache.affinity().isPrimary(grid(0).localNode(), i)) {
-                key = i;
-
-                break;
-            }
-        }
-
-        assertEquals(0.0f, cache.metrics().getAveragePutTime());
-        assertEquals(0.0f, cache.metrics().getAverageGetTime());
-
-        IgniteFuture<?> fut = cache.replaceAsync(key, key, key + 1);
-
-        fut.get();
-
-        TimeUnit.MILLISECONDS.sleep(100L);
-
-        assert cache.metrics().getAveragePutTime() > 0;
-        assert cache.metrics().getAverageGetTime() > 0;
-    }
-
-
-    /**
-     * @throws Exception If failed.
-     */
     public void testPutAllAvgTime() throws Exception {
         IgniteCache<Integer, Integer> jcache = grid(0).jcache(null);
         GridCache<Object, Object> cache = grid(0).cache(null);


Mime
View raw message