ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject ignite git commit: Restore clock mode.
Date Wed, 22 Mar 2017 15:58:24 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-2.0-clock adee22bb6 -> 7aa7891f7


Restore clock mode.


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

Branch: refs/heads/ignite-2.0-clock
Commit: 7aa7891f7fb0182742d69c59aceb2e6e0dc13cbb
Parents: adee22b
Author: sboikov <sboikov@gridgain.com>
Authored: Wed Mar 22 18:58:17 2017 +0300
Committer: sboikov <sboikov@gridgain.com>
Committed: Wed Mar 22 18:58:17 2017 +0300

----------------------------------------------------------------------
 .../processors/cache/IncorrectCacheTypeMetadataTest.java    | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/7aa7891f/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IncorrectCacheTypeMetadataTest.java
----------------------------------------------------------------------
diff --git a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IncorrectCacheTypeMetadataTest.java
b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IncorrectCacheTypeMetadataTest.java
index 9695ffb..a8a2978 100644
--- a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IncorrectCacheTypeMetadataTest.java
+++ b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IncorrectCacheTypeMetadataTest.java
@@ -38,11 +38,11 @@ public class IncorrectCacheTypeMetadataTest extends GridCommonAbstractTest
{
 
         CacheTypeMetadata cacheTypeMetadata = new CacheTypeMetadata();
 
-        Map<String, Class<?>> queryFieldsMap = new HashMap<>();
+        Map<String, Class<?>> qryFieldsMap = new HashMap<>();
 
-        queryFieldsMap.put("exceptionOid", Object.class);
+        qryFieldsMap.put("exceptionOid", Object.class);
 
-        cacheTypeMetadata.setQueryFields(queryFieldsMap);
+        cacheTypeMetadata.setQueryFields(qryFieldsMap);
         cacheTypeMetadata.setValueType(Object.class);
 
         dfltCacheCfg.setTypeMetadata(Collections.singleton(cacheTypeMetadata));
@@ -68,5 +68,8 @@ public class IncorrectCacheTypeMetadataTest extends GridCommonAbstractTest
{
                 fail("property initialization exception must be thrown, but got " + exception.getMessage());
             }
         }
+        finally {
+            stopAllGrids();
+        }
     }
 }


Mime
View raw message