ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [02/50] incubator-ignite git commit: #ignite-565: remove GridCache from tests.
Date Fri, 27 Mar 2015 12:52:13 GMT
#ignite-565: remove GridCache from 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/14ed9ec8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/14ed9ec8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/14ed9ec8

Branch: refs/heads/sprint-3
Commit: 14ed9ec80d60604375ce74e79023c0054a51505e
Parents: 1939e20
Author: ivasilinets <ivasilinets@gridgain.com>
Authored: Wed Mar 25 13:07:05 2015 +0300
Committer: ivasilinets <ivasilinets@gridgain.com>
Committed: Wed Mar 25 13:07:05 2015 +0300

----------------------------------------------------------------------
 .../processors/cache/GridCacheAbstractMetricsSelfTest.java       | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/14ed9ec8/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheAbstractMetricsSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheAbstractMetricsSelfTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheAbstractMetricsSelfTest.java
index a121392..1821e12 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheAbstractMetricsSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheAbstractMetricsSelfTest.java
@@ -82,6 +82,10 @@ public abstract class GridCacheAbstractMetricsSelfTest extends GridCacheAbstract
             g.cache(null).removeAll();
 
             assert g.cache(null).localSize() == 0;
+        }
+
+        for (int i = 0; i < gridCount(); i++) {
+            Ignite g = grid(i);
 
             g.cache(null).mxBean().clear();
 


Mime
View raw message