cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: Minor update to FailoverWebClient test
Date Mon, 03 Apr 2017 15:18:57 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 7783ffc52 -> 20c759872


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/20c75987
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/20c75987
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/20c75987

Branch: refs/heads/master
Commit: 20c759872e9de8cc445420156cfb45880b5cf5f9
Parents: 7783ffc
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Mon Apr 3 16:18:43 2017 +0100
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Mon Apr 3 16:18:43 2017 +0100

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


http://git-wip-us.apache.org/repos/asf/cxf/blob/20c75987/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 f77a429..5d8ded7 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());
     }
 
 }
\ No newline at end of file


Mime
View raw message