qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rob...@apache.org
Subject qpid-jms git commit: QPIDJMS-336: update test to avoid resolution issues in certain envs
Date Wed, 01 Nov 2017 12:53:05 GMT
Repository: qpid-jms
Updated Branches:
  refs/heads/master 5987a021f -> 6d49f7c50


QPIDJMS-336: update test to avoid resolution issues in certain envs


Project: http://git-wip-us.apache.org/repos/asf/qpid-jms/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-jms/commit/6d49f7c5
Tree: http://git-wip-us.apache.org/repos/asf/qpid-jms/tree/6d49f7c5
Diff: http://git-wip-us.apache.org/repos/asf/qpid-jms/diff/6d49f7c5

Branch: refs/heads/master
Commit: 6d49f7c50e5be464708013f79178b96210cf17bf
Parents: 5987a02
Author: Robbie Gemmell <robbie@apache.org>
Authored: Wed Nov 1 12:44:01 2017 +0000
Committer: Robbie Gemmell <robbie@apache.org>
Committed: Wed Nov 1 12:44:01 2017 +0000

----------------------------------------------------------------------
 .../qpid/jms/provider/failover/FailoverProviderTest.java       | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/6d49f7c5/qpid-jms-client/src/test/java/org/apache/qpid/jms/provider/failover/FailoverProviderTest.java
----------------------------------------------------------------------
diff --git a/qpid-jms-client/src/test/java/org/apache/qpid/jms/provider/failover/FailoverProviderTest.java
b/qpid-jms-client/src/test/java/org/apache/qpid/jms/provider/failover/FailoverProviderTest.java
index 0f3b5d7..dbb4381 100644
--- a/qpid-jms-client/src/test/java/org/apache/qpid/jms/provider/failover/FailoverProviderTest.java
+++ b/qpid-jms-client/src/test/java/org/apache/qpid/jms/provider/failover/FailoverProviderTest.java
@@ -257,9 +257,9 @@ public class FailoverProviderTest extends FailoverProviderTestSupport
{
     @Test(timeout = 30000)
     public void testMaxReconnectAttemptsWithMultipleURIs() throws Exception {
         JmsConnectionFactory factory = new JmsConnectionFactory(
-            "failover:(mock://localhost1?mock.failOnConnect=true," +
-                      "mock://localhost2?mock.failOnConnect=true," +
-                      "mock://localhost3?mock.failOnConnect=true)" +
+            "failover:(mock://192.168.2.1?mock.failOnConnect=true," +
+                      "mock://192.168.2.2?mock.failOnConnect=true," +
+                      "mock://192.168.2.3?mock.failOnConnect=true)" +
             "?failover.maxReconnectAttempts=5" +
             "&failover.reconnectDelay=1" +
             "&failover.useReconnectBackOff=false");


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message