You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2014/06/29 18:30:29 UTC
svn commit: r1606537 -
/commons/proper/jcs/trunk/commons-jcs-core/src/test/java/org/apache/commons/jcs/auxiliary/remote/server/BasicRemoteCacheClientServerUnitTest.java
Author: sebb
Date: Sun Jun 29 16:30:29 2014
New Revision: 1606537
URL: http://svn.apache.org/r1606537
Log:
Debug must come first
Modified:
commons/proper/jcs/trunk/commons-jcs-core/src/test/java/org/apache/commons/jcs/auxiliary/remote/server/BasicRemoteCacheClientServerUnitTest.java
Modified: commons/proper/jcs/trunk/commons-jcs-core/src/test/java/org/apache/commons/jcs/auxiliary/remote/server/BasicRemoteCacheClientServerUnitTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/commons-jcs-core/src/test/java/org/apache/commons/jcs/auxiliary/remote/server/BasicRemoteCacheClientServerUnitTest.java?rev=1606537&r1=1606536&r2=1606537&view=diff
==============================================================================
--- commons/proper/jcs/trunk/commons-jcs-core/src/test/java/org/apache/commons/jcs/auxiliary/remote/server/BasicRemoteCacheClientServerUnitTest.java (original)
+++ commons/proper/jcs/trunk/commons-jcs-core/src/test/java/org/apache/commons/jcs/auxiliary/remote/server/BasicRemoteCacheClientServerUnitTest.java Sun Jun 29 16:30:29 2014
@@ -68,11 +68,8 @@ public class BasicRemoteCacheClientServe
@BeforeClass
public static void setup()
{
- String configFile = "TestRemoteCacheClientServer.ccf";
- server = RemoteCacheServerStartupUtil.startServerUsingProperties(configFile);
- remotePort = server.remoteCacheServerAttributes.getRemotePort();
+ // Add some debug to try and find out why test fails on Continuum
try {
- // Add some debug to try and find out why test fails on Continuum
InetAddress ina=InetAddress.getLocalHost();
System.out.println("InetAddress.getLocalHost()="+ina);
// Iterate all NICs (network interface cards)...
@@ -94,6 +91,10 @@ public class BasicRemoteCacheClientServe
} catch (Exception e) {
e.printStackTrace();
}
+ // end of debug
+ String configFile = "TestRemoteCacheClientServer.ccf";
+ server = RemoteCacheServerStartupUtil.startServerUsingProperties(configFile);
+ remotePort = server.remoteCacheServerAttributes.getRemotePort();
}
@AfterClass