diff options
| author | Martin Ritchie <ritchiem@apache.org> | 2010-05-07 15:10:32 +0000 |
|---|---|---|
| committer | Martin Ritchie <ritchiem@apache.org> | 2010-05-07 15:10:32 +0000 |
| commit | 6c04319660d64bc9eca15e8497226b2365fd9add (patch) | |
| tree | 7d9ac0e425c47adbd2bded5ff6e107ccb6a013b3 /java/systests/src | |
| parent | d047ff8affc87c31a0f769339b6b2339dba9572d (diff) | |
| download | qpid-python-6c04319660d64bc9eca15e8497226b2365fd9add.tar.gz | |
QPID-2582 : Print stack traces if the registry fails to clean up as a result of a failed InVM broker startup
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@942104 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/systests/src')
| -rw-r--r-- | java/systests/src/main/java/org/apache/qpid/test/utils/QpidTestCase.java | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/java/systests/src/main/java/org/apache/qpid/test/utils/QpidTestCase.java b/java/systests/src/main/java/org/apache/qpid/test/utils/QpidTestCase.java index 020b598279..f3f978239b 100644 --- a/java/systests/src/main/java/org/apache/qpid/test/utils/QpidTestCase.java +++ b/java/systests/src/main/java/org/apache/qpid/test/utils/QpidTestCase.java @@ -501,7 +501,14 @@ public class QpidTestCase extends TestCase } catch (Exception e) { - registry.close(); + try + { + registry.close(); + } + catch (Exception closeE) + { + closeE.printStackTrace(); + } throw e; } TransportConnection.createVMBroker(port); @@ -754,6 +761,8 @@ public class QpidTestCase extends TestCase saveTestVirtualhosts(); ServerConfiguration configuration = new ServerConfiguration(_configFile); + // Don't need to configuration.configure() here as we are just pulling + // values directly by String. return configuration.getConfig().getString(property); } |
