You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2011/10/25 22:30:03 UTC
svn commit: r1188893 -
/cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerBookTest.java
Author: dkulp
Date: Tue Oct 25 20:30:03 2011
New Revision: 1188893
URL: http://svn.apache.org/viewvc?rev=1188893&view=rev
Log:
Get the test off port 8080
Modified:
cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerBookTest.java
Modified: cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerBookTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerBookTest.java?rev=1188893&r1=1188892&r2=1188893&view=diff
==============================================================================
--- cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerBookTest.java (original)
+++ cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerBookTest.java Tue Oct 25 20:30:03 2011
@@ -66,6 +66,7 @@ import org.junit.Test;
public class JAXRSClientServerBookTest extends AbstractBusClientServerTestBase {
public static final String PORT = BookServer.PORT;
+ public static final String PORT2 = allocatePort(JAXRSClientServerBookTest.class);
@BeforeClass
public static void startServers() throws Exception {
@@ -84,7 +85,7 @@ public class JAXRSClientServerBookTest e
@Test
public void testProxyWrongAddress() throws Exception {
- BookStore store = JAXRSClientFactory.create("http://localhost:8080/wrongaddress",
+ BookStore store = JAXRSClientFactory.create("http://localhost:" + PORT2 + "/wrongaddress",
BookStore.class);
try {
store.getBook("123");