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 | 11eeb5bc295147761750f6340e985ad6bbdaef34 (patch) | |
| tree | 30b9412d0cd20c741cb12bef81211455547bf01b /qpid/java | |
| parent | 76d5e5ea1de4c178f8baee3b7da9e30d3a30b3c3 (diff) | |
| download | qpid-python-11eeb5bc295147761750f6340e985ad6bbdaef34.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@942104 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java')
| -rw-r--r-- | qpid/java/systests/src/main/java/org/apache/qpid/test/utils/QpidTestCase.java | 11 |
1 files changed, 10 insertions, 1 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 020b598279..f3f978239b 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 @@ -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); } |
