cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1188893 - /cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerBookTest.java
Date Tue, 25 Oct 2011 20:30:03 GMT
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");



Mime
View raw message