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 | 0f27cb6473622e6daca98aec49a17fa8e4e8ec32 (patch) | |
| tree | de74c4a45e5d31a612be5e15a56a6ed7b6fbf71c /qpid/java | |
| parent | 1045b2dd455d5c5da61f6395c44c7486a7b149f6 (diff) | |
| download | qpid-python-0f27cb6473622e6daca98aec49a17fa8e4e8ec32.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@805604 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java')
| -rw-r--r-- | qpid/java/systests/src/main/java/org/apache/qpid/test/utils/FailoverBaseCase.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/java/systests/src/main/java/org/apache/qpid/test/utils/FailoverBaseCase.java b/qpid/java/systests/src/main/java/org/apache/qpid/test/utils/FailoverBaseCase.java index cc9cfce34b..1bef07fcd5 100644 --- a/qpid/java/systests/src/main/java/org/apache/qpid/test/utils/FailoverBaseCase.java +++ b/qpid/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()); } |
