ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From voze...@apache.org
Subject [05/10] ignite git commit: Fix test to pass after change to withKeepBinary()
Date Tue, 24 May 2016 11:13:04 GMT
Fix test to pass after change to withKeepBinary()


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

Branch: refs/heads/ignite-2693
Commit: 2910470de2a5c76a7255662679fa08915b36464a
Parents: 9c18bbe
Author: Oddo Da <oddodaoddo@gmail.com>
Authored: Wed Mar 9 10:16:00 2016 -0600
Committer: Oddo Da <oddodaoddo@gmail.com>
Committed: Wed Mar 9 10:16:00 2016 -0600

----------------------------------------------------------------------
 .../cache/GridCacheOffHeapTieredEvictionAbstractSelfTest.java   | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/2910470d/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheOffHeapTieredEvictionAbstractSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheOffHeapTieredEvictionAbstractSelfTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheOffHeapTieredEvictionAbstractSelfTest.java
index cd82739..855f669 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheOffHeapTieredEvictionAbstractSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheOffHeapTieredEvictionAbstractSelfTest.java
@@ -169,7 +169,10 @@ public abstract class GridCacheOffHeapTieredEvictionAbstractSelfTest
extends Gri
      * @throws Exception If failed.
      */
     public void testTransform() throws Exception {
-        final IgniteCache<Integer, Object> cache = grid(0).cache(null).withKeepBinary();
+        /* we need to enforce binary marshaller in this test since IGNITE-2693 */
+        final CacheConfiguration<Integer, Object> cacheCfg = new CacheConfiguration();
+        cacheCfg.setStoreKeepBinary(true);
+        final IgniteCache<Integer, Object> cache = grid(0).createCache(cacheCfg).withKeepBinary();
 
         GridTestUtils.runMultiThreaded(new Callable<Void>() {
             @Override public Void call() throws Exception {


Mime
View raw message