ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [16/27] incubator-ignite git commit: # Fix org.jsr107.tck.CacheManagerTest#close_cachesClosed() test.
Date Fri, 13 Feb 2015 06:11:38 GMT
# Fix org.jsr107.tck.CacheManagerTest#close_cachesClosed() test.


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

Branch: refs/heads/ignite-238
Commit: 422ffb140b4f423c953860c44b91d74db74ebfbd
Parents: be23ac6
Author: sevdokimov <sevdokimov@gridgain.com>
Authored: Thu Feb 12 16:31:31 2015 +0300
Committer: sevdokimov <sevdokimov@gridgain.com>
Committed: Thu Feb 12 20:36:44 2015 +0300

----------------------------------------------------------------------
 .../core/src/main/java/org/apache/ignite/cache/CacheManager.java   | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/422ffb14/modules/core/src/main/java/org/apache/ignite/cache/CacheManager.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/cache/CacheManager.java b/modules/core/src/main/java/org/apache/ignite/cache/CacheManager.java
index 5de7fd5..38ce793 100644
--- a/modules/core/src/main/java/org/apache/ignite/cache/CacheManager.java
+++ b/modules/core/src/main/java/org/apache/ignite/cache/CacheManager.java
@@ -408,6 +408,8 @@ public class CacheManager implements javax.cache.CacheManager {
 
             synchronized (igniteMap) {
                 ignites = igniteMap.values().toArray(new Ignite[igniteMap.values().size()]);
+
+                igniteMap.clear();
             }
 
             for (Ignite ignite : ignites) {


Mime
View raw message