Upgraded to use a non-deprecated factory constructor
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15334 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
7f58da9351
commit
1d919d9d53
|
@ -67,7 +67,7 @@ public abstract class AbstractRegionImplTestCase extends AbstractJBossCacheTestC
|
|||
public void testActivationDeactivation() throws Exception {
|
||||
|
||||
// Set up a cache to monitor affects of starting the region
|
||||
Cache remoteCache = DefaultCacheFactory.getInstance().createCache(SharedCacheInstanceManager.DEFAULT_CACHE_RESOURCE, false);
|
||||
Cache remoteCache = new DefaultCacheFactory().createCache(SharedCacheInstanceManager.DEFAULT_CACHE_RESOURCE, false);
|
||||
|
||||
// This test assumes replication; verify that's correct
|
||||
assertEquals("Cache is REPL_SYNC", "REPL_SYNC", remoteCache.getConfiguration().getCacheModeString());
|
||||
|
|
Loading…
Reference in New Issue