diff options
| author | Martin Ritchie <ritchiem@apache.org> | 2009-09-21 15:41:33 +0000 |
|---|---|---|
| committer | Martin Ritchie <ritchiem@apache.org> | 2009-09-21 15:41:33 +0000 |
| commit | a5283e144f9107e3e735379ddd68d8d29e9fdb53 (patch) | |
| tree | 0e1240f794a59d7a2647503b18151c8f76e44c11 /java/systests/src | |
| parent | 9e349f53ccbb1f41156df7ff32f99c1030aa4f68 (diff) | |
| download | qpid-python-a5283e144f9107e3e735379ddd68d8d29e9fdb53.tar.gz | |
FailoverBaseCase has not been using the testprofile defined test.port.alt for the failover server. As a result the connection has been failing. Updated to use correct system property and added text to both default.testprofile and test-provider.properties to ensure that the changes are made in both locations, Ideally JNDI connection would use the same system property that is used by QTC for starting the broker. However I don't believe that it is currently doing that.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@817295 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/systests/src')
| -rw-r--r-- | java/systests/src/main/java/org/apache/qpid/test/utils/FailoverBaseCase.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/systests/src/main/java/org/apache/qpid/test/utils/FailoverBaseCase.java b/java/systests/src/main/java/org/apache/qpid/test/utils/FailoverBaseCase.java index 1bef07fcd5..9a8fb8fde0 100644 --- a/java/systests/src/main/java/org/apache/qpid/test/utils/FailoverBaseCase.java +++ b/java/systests/src/main/java/org/apache/qpid/test/utils/FailoverBaseCase.java @@ -28,7 +28,7 @@ public class FailoverBaseCase extends QpidTestCase { public static int FAILING_VM_PORT = 2; - public static int FAILING_PORT = DEFAULT_PORT + 100; + public static int FAILING_PORT = Integer.parseInt(System.getProperty("test.port.alt")); protected int failingPort; |
