Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes fc738d4e7 -> cd4e2423d


Minor update to FailoverWebClient test


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/cd4e2423
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/cd4e2423
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/cd4e2423

Branch: refs/heads/3.0.x-fixes
Commit: cd4e2423dd82662ed59e2396aaa5f9a301df0fb4
Parents: fc738d4
Author: Sergey Beryozkin <[email protected]>
Authored: Mon Apr 3 16:18:43 2017 +0100
Committer: Sergey Beryozkin <[email protected]>
Committed: Mon Apr 3 16:21:55 2017 +0100

----------------------------------------------------------------------
 .../cxf/systest/jaxrs/failover/FailoverWebClientTest.java      | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/cd4e2423/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/failover/FailoverWebClientTest.java
----------------------------------------------------------------------
diff --git 
a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/failover/FailoverWebClientTest.java
 
b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/failover/FailoverWebClientTest.java
index 4784856..039030f 100644
--- 
a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/failover/FailoverWebClientTest.java
+++ 
b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/failover/FailoverWebClientTest.java
@@ -68,16 +68,22 @@ public class FailoverWebClientTest extends 
AbstractBusClientServerTestBase {
         Book b = webClient.get(Book.class);
         assertEquals(124L, b.getId());
         assertEquals("root", b.getName());
+        assertEquals("http://localhost:"; + PORT1 + "/bookstore",
+                     webClient.getBaseURI().toString());
 
         // Should failover to PORT2
         webClient.get(Book.class);
         assertEquals(124L, b.getId());
         assertEquals("root", b.getName());
+        assertEquals("http://localhost:"; + PORT2 + "/bookstore",
+                     webClient.getBaseURI().toString());
 
         // Should failover to PORT3
         webClient.get(Book.class);
         assertEquals(124L, b.getId());
         assertEquals("root", b.getName());
+        assertEquals("http://localhost:"; + PORT3 + "/bookstore",
+                     webClient.getBaseURI().toString());
     }
 
 }

Reply via email to