Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 67497200C3C for ; Mon, 3 Apr 2017 17:22:11 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 65BB3160B8F; Mon, 3 Apr 2017 15:22:11 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9FB1D160B76 for ; Mon, 3 Apr 2017 17:22:10 +0200 (CEST) Received: (qmail 58660 invoked by uid 500); 3 Apr 2017 15:22:09 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 58651 invoked by uid 99); 3 Apr 2017 15:22:09 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Apr 2017 15:22:09 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 9E811DFBA9; Mon, 3 Apr 2017 15:22:09 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sergeyb@apache.org To: commits@cxf.apache.org Message-Id: <412f1ed5faa54d339c038f27ebb00c6d@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: cxf git commit: Minor update to FailoverWebClient test Date: Mon, 3 Apr 2017 15:22:09 +0000 (UTC) archived-at: Mon, 03 Apr 2017 15:22:11 -0000 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 Authored: Mon Apr 3 16:18:43 2017 +0100 Committer: Sergey Beryozkin 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()); } }