diff options
| author | Arnaud Simon <arnaudsimon@apache.org> | 2007-11-08 09:49:03 +0000 |
|---|---|---|
| committer | Arnaud Simon <arnaudsimon@apache.org> | 2007-11-08 09:49:03 +0000 |
| commit | 81e4e3764475ab34da0728ed4c4b19ddf61da8b1 (patch) | |
| tree | 8d3500cfa27e36376b78519ae1a3cc5a3a633c3c /java/client/src | |
| parent | 9df2509ae1f7cc49f0f08baf2960b9f3ea3454b1 (diff) | |
| download | qpid-python-81e4e3764475ab34da0728ed4c4b19ddf61da8b1.tar.gz | |
added several cr and xa tests
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@593097 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/client/src')
| -rw-r--r-- | java/client/src/test/java/org/apache/qpid/testutil/QpidTestCase.java | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/java/client/src/test/java/org/apache/qpid/testutil/QpidTestCase.java b/java/client/src/test/java/org/apache/qpid/testutil/QpidTestCase.java index 21214146d6..ca9bdee514 100644 --- a/java/client/src/test/java/org/apache/qpid/testutil/QpidTestCase.java +++ b/java/client/src/test/java/org/apache/qpid/testutil/QpidTestCase.java @@ -137,9 +137,9 @@ public class QpidTestCase extends TestCase */ public void startBroker() throws Exception { - _logger.info("Starting broker"); + _logger.info("Starting broker: " + _shel + " " + _brokerPath + " " + _brokerParams + ""); Runtime rt = Runtime.getRuntime(); - _brokerProcess = rt.exec(_shel + " " + _brokerPath + " " + _brokerParams); + _brokerProcess = rt.exec(_shel + " " + _brokerPath + " " + _brokerParams + ""); BufferedReader reader = new BufferedReader(new InputStreamReader(_brokerProcess.getInputStream())); if (reader.ready()) { @@ -177,6 +177,11 @@ public class QpidTestCase extends TestCase _connectionFactory = null; } + public void shutdownServer() throws Exception + { + killBroker(); + setUp(); + } /** * we assume that the environment is correctly set * i.e. -Djava.naming.provider.url="..//example010.properties" |
