From 5756213195381f456ddc340d8637776485a4d9b6 Mon Sep 17 00:00:00 2001 From: Galder Zamarreno Date: Wed, 24 Feb 2010 09:22:43 +0000 Subject: [PATCH] Upgraded to Infinispan 4.0.0.FINAL git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18868 1b8cb986-b30d-0410-93ca-fae66ebed9b2 --- cache-infinispan/pom.xml | 2 +- .../cache/infinispan/InfinispanRegionFactoryTestCase.java | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/cache-infinispan/pom.xml b/cache-infinispan/pom.xml index 3a17eb0f7a..31bfaaf603 100644 --- a/cache-infinispan/pom.xml +++ b/cache-infinispan/pom.xml @@ -18,7 +18,7 @@ Integration of Hibernate with Infinispan - 4.0.0.CR4 + 4.0.0.FINAL 1.8.0.2 2.2 3.4.GA diff --git a/cache-infinispan/src/test/java/org/hibernate/test/cache/infinispan/InfinispanRegionFactoryTestCase.java b/cache-infinispan/src/test/java/org/hibernate/test/cache/infinispan/InfinispanRegionFactoryTestCase.java index 98a0fba4a7..f7d74f629d 100644 --- a/cache-infinispan/src/test/java/org/hibernate/test/cache/infinispan/InfinispanRegionFactoryTestCase.java +++ b/cache-infinispan/src/test/java/org/hibernate/test/cache/infinispan/InfinispanRegionFactoryTestCase.java @@ -214,7 +214,6 @@ public class InfinispanRegionFactoryTestCase extends TestCase { InfinispanRegionFactory factory = new InfinispanRegionFactory(); factory.start(null, p); CacheManager manager = factory.getCacheManager(); - manager.getGlobalConfiguration().setTransportClass(null); try { EntityRegionImpl region = (EntityRegionImpl) factory.buildEntityRegion("com.acme.Address", p, null); assertNull(factory.getTypeOverrides().get("com.acme.Address")); @@ -296,7 +295,6 @@ public class InfinispanRegionFactoryTestCase extends TestCase { InfinispanRegionFactory factory = new InfinispanRegionFactory(); factory.start(null, p); CacheManager manager = factory.getCacheManager(); - manager.getGlobalConfiguration().setTransportClass(null); try { assertTrue(factory.getDefinedConfigurations().contains("timestamps")); assertTrue(factory.getTypeOverrides().get("timestamps").getCacheName().equals("timestamps")); @@ -322,7 +320,6 @@ public class InfinispanRegionFactoryTestCase extends TestCase { InfinispanRegionFactory factory = new InfinispanRegionFactory(); factory.start(null, p); CacheManager manager = factory.getCacheManager(); - manager.getGlobalConfiguration().setTransportClass(null); try { assertFalse(factory.getDefinedConfigurations().contains("timestamp")); assertTrue(factory.getDefinedConfigurations().contains("unrecommended-timestamps")); @@ -430,7 +427,6 @@ public class InfinispanRegionFactoryTestCase extends TestCase { InfinispanRegionFactory factory = new InfinispanRegionFactory(); factory.start(null, p); CacheManager manager = factory.getCacheManager(); - manager.getGlobalConfiguration().setTransportClass(null); try { assertTrue(manager.getGlobalConfiguration().isExposeGlobalJmxStatistics()); EntityRegionImpl region = (EntityRegionImpl) factory.buildEntityRegion("com.acme.Address", p, null); @@ -479,7 +475,6 @@ public class InfinispanRegionFactoryTestCase extends TestCase { InfinispanRegionFactory factory = new InfinispanRegionFactory(); factory.start(null, p); CacheManager manager = factory.getCacheManager(); - manager.getGlobalConfiguration().setTransportClass(null); try { assertFalse(manager.getGlobalConfiguration().isExposeGlobalJmxStatistics()); EntityRegionImpl region = (EntityRegionImpl) factory.buildEntityRegion("com.acme.Address", p, null);