diff options
| author | Martin Ritchie <ritchiem@apache.org> | 2009-09-11 12:24:08 +0000 |
|---|---|---|
| committer | Martin Ritchie <ritchiem@apache.org> | 2009-09-11 12:24:08 +0000 |
| commit | f91462c76d2eb2814b6ac3b9704e2c1adc746e33 (patch) | |
| tree | 6c332c555c293cd1044fa5c2338395e0611a51fd /qpid/java | |
| parent | e19b7b8843ba53885656a22ae55f4bb7dc9db7ab (diff) | |
| download | qpid-python-f91462c76d2eb2814b6ac3b9704e2c1adc746e33.tar.gz | |
QPID-2095 : Update QTC to set the management.jmxport configuration property on InVM test cases
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@813797 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 | 2 |
1 files changed, 2 insertions, 0 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 2b91cdbf4e..835a10e87f 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 @@ -425,6 +425,8 @@ public class QpidTestCase extends TestCase Process process = null; if (_broker.equals(VM)) { + setConfigurationProperty("management.jmxport", String.valueOf(getManagementPort(port))); + saveTestConfiguration(); // create an in_VM broker ApplicationRegistry.initialise(new ConfigurationFileApplicationRegistry(_configFile), port); TransportConnection.createVMBroker(port); |
