Repository: cxf Updated Branches: refs/heads/3.1.x-fixes c2206aec5 -> aa5c4f9e5
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/aa5c4f9e Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/aa5c4f9e Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/aa5c4f9e Branch: refs/heads/3.1.x-fixes Commit: aa5c4f9e5ec24337cf48e8b02a4609f225c62869 Parents: c2206ae Author: Sergey Beryozkin <[email protected]> Authored: Mon Apr 3 16:18:43 2017 +0100 Committer: Sergey Beryozkin <[email protected]> Committed: Mon Apr 3 16:20:49 2017 +0100 ---------------------------------------------------------------------- .../cxf/systest/jaxrs/failover/FailoverWebClientTest.java | 6 ++++++ 1 file changed, 6 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cxf/blob/aa5c4f9e/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
