diff options
| author | Rajith Muditha Attapattu <rajith@apache.org> | 2009-08-18 22:16:34 +0000 |
|---|---|---|
| committer | Rajith Muditha Attapattu <rajith@apache.org> | 2009-08-18 22:16:34 +0000 |
| commit | 009b30ec6d9f11b94cbce36d32f33ac9b3583198 (patch) | |
| tree | 6eb9cf89c170dcb3f3f17ab5f6bf62f3813825ce /java | |
| parent | 6a199b23603f517d89d2e817f3658ac6e0fa816e (diff) | |
| download | qpid-python-009b30ec6d9f11b94cbce36d32f33ac9b3583198.tar.gz | |
This is to fix the test failures introduced in r805267.
The above commit resulted in the FailoverTest and QueueBrowserAutoAckTest to fail under the java profiles.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@805604 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java')
| -rw-r--r-- | java/systests/src/main/java/org/apache/qpid/test/utils/FailoverBaseCase.java | 4 |
1 files changed, 2 insertions, 2 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 cc9cfce34b..1bef07fcd5 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 @@ -55,7 +55,7 @@ public class FailoverBaseCase extends QpidTestCase { super.setUp(); setSystemProperty("QPID_WORK", System.getProperty("java.io.tmpdir")+"/"+getFailingPort()); - startBroker(FAILING_PORT); + startBroker(failingPort); } /** @@ -76,7 +76,7 @@ public class FailoverBaseCase extends QpidTestCase public void tearDown() throws Exception { - stopBroker(FAILING_PORT); + stopBroker(_broker.equals(VM)?FAILING_PORT:FAILING_PORT); super.tearDown(); FileUtils.deleteDirectory(System.getProperty("java.io.tmpdir")+"/"+getFailingPort()); } |
