[infinispan-commits] Infinispan SVN: r1702 - trunk/client/hotrod-client/src/test/java/org/infinispan/client/hotrod.
infinispan-commits at lists.jboss.org
infinispan-commits at lists.jboss.org
Fri Apr 16 10:31:32 EDT 2010
Author: mircea.markus
Date: 2010-04-16 10:31:31 -0400 (Fri, 16 Apr 2010)
New Revision: 1702
Modified:
trunk/client/hotrod-client/src/test/java/org/infinispan/client/hotrod/ForceReturnValueTest.java
Log:
fixed test
Modified: trunk/client/hotrod-client/src/test/java/org/infinispan/client/hotrod/ForceReturnValueTest.java
===================================================================
--- trunk/client/hotrod-client/src/test/java/org/infinispan/client/hotrod/ForceReturnValueTest.java 2010-04-16 14:29:21 UTC (rev 1701)
+++ trunk/client/hotrod-client/src/test/java/org/infinispan/client/hotrod/ForceReturnValueTest.java 2010-04-16 14:31:31 UTC (rev 1702)
@@ -1,6 +1,5 @@
package org.infinispan.client.hotrod;
-import org.infinispan.Cache;
import org.infinispan.manager.CacheManager;
import org.infinispan.server.hotrod.HotRodServer;
import org.infinispan.test.SingleCacheManagerTest;
@@ -29,16 +28,12 @@
cache = cacheManager.getCache();
hotrodServer = HotRodServerStarter.startHotRodServer(cacheManager);
- remoteCacheManager = getRemoteCacheManager();
+ remoteCacheManager = new RemoteCacheManager("localhost",hotrodServer.getPort());
remoteCache = remoteCacheManager.getCache();
return cacheManager;
}
- protected RemoteCacheManager getRemoteCacheManager() {
- return new RemoteCacheManager();
- }
-
@AfterClass(enabled = true)
public void testDestroyRemoteCacheFactory() {
remoteCacheManager.stop();
More information about the infinispan-commits
mailing list