summaryrefslogtreecommitdiff
path: root/qpid/java/systests/src/main/java/org/apache/qpid/test/utils/QpidTestCase.java
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/java/systests/src/main/java/org/apache/qpid/test/utils/QpidTestCase.java')
-rw-r--r--qpid/java/systests/src/main/java/org/apache/qpid/test/utils/QpidTestCase.java28
1 files changed, 0 insertions, 28 deletions
diff --git a/qpid/java/systests/src/main/java/org/apache/qpid/test/utils/QpidTestCase.java b/qpid/java/systests/src/main/java/org/apache/qpid/test/utils/QpidTestCase.java
index b6ee6083b2..e7218d6975 100644
--- a/qpid/java/systests/src/main/java/org/apache/qpid/test/utils/QpidTestCase.java
+++ b/qpid/java/systests/src/main/java/org/apache/qpid/test/utils/QpidTestCase.java
@@ -521,34 +521,6 @@ public class QpidTestCase extends TestCase
}
}
- public void nukeBroker() throws Exception
- {
- nukeBroker(0);
- }
-
- public void nukeBroker(int port) throws Exception
- {
- Process proc = _brokers.get(getPort(port));
- if (proc == null)
- {
- stopBroker(port);
- }
- else
- {
- String command = "pkill -KILL -f " + getBrokerCommand(getPort(port));
- try
- {
- Runtime.getRuntime().exec(command);
- }
- catch (Exception e)
- {
- // Can't do that, try the old fashioned way
- _logger.warn("Could not run " + command + ", killing with stopBroker()");
- stopBroker(port);
- }
- }
- }
-
/**
* Attempt to set the Java Broker to use the BDBMessageStore for persistence
* Falling back to the DerbyMessageStore if