diff options
| author | Martin Ritchie <ritchiem@apache.org> | 2009-08-07 18:07:47 +0000 |
|---|---|---|
| committer | Martin Ritchie <ritchiem@apache.org> | 2009-08-07 18:07:47 +0000 |
| commit | bb7a36a8b06a50d85cc6161098f69e1fe4269e92 (patch) | |
| tree | bab17458bb35c1cc2ad603de742a15e42b78a7bc /qpid/java/test-profiles | |
| parent | b2b08fcef3a26ad10087c2d3450672100274aefe (diff) | |
| download | qpid-python-bb7a36a8b06a50d85cc6161098f69e1fe4269e92.tar.gz | |
QPID-2033 : Added destroy for broker process that fails to startup. Also augmented QpidTestCase and build profiles to take a new broker.stopped search value. If this appears in the log output during the external broker startup and the broker does not report ready then the startup will report the line of text associated with the exception as part of the failure. Currently the stopped value is set to to 'Exception'. This means if an exception occurs during startup then test will give more detail about the cause of the failure. This is only monitored during the brokerStart() call and through the getStopLine() call on the Piper we can return the line of text that the Exception matched. Providing more details of why a broker failed to startup. This extra detail is currently added to the exception thrown when the broker fails to become ready.
Added test.mport to profile for defaulting management port
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802118 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/test-profiles')
| -rw-r--r-- | qpid/java/test-profiles/default.testprofile | 1 | ||||
| -rw-r--r-- | qpid/java/test-profiles/java-derby.testprofile | 3 | ||||
| -rw-r--r-- | qpid/java/test-profiles/java.testprofile | 3 |
3 files changed, 5 insertions, 2 deletions
diff --git a/qpid/java/test-profiles/default.testprofile b/qpid/java/test-profiles/default.testprofile index 5a08b79e10..864cf149d4 100644 --- a/qpid/java/test-profiles/default.testprofile +++ b/qpid/java/test-profiles/default.testprofile @@ -17,6 +17,7 @@ log4j.configuration=file:///${test.profiles}/log4j-test.xml log4j.debug=false test.port=15672 +test.mport=18999 test.port.ssl=15671 test.port.alt=15673 diff --git a/qpid/java/test-profiles/java-derby.testprofile b/qpid/java/test-profiles/java-derby.testprofile index 52b63ae799..0fa6a73a32 100644 --- a/qpid/java/test-profiles/java-derby.testprofile +++ b/qpid/java/test-profiles/java-derby.testprofile @@ -1,7 +1,8 @@ broker.language=java broker=${project.root}/build/bin/qpid-server -p @PORT -m @MPORT -c @CONFIG_FILE -l ${test.profiles}/log4j-test.xml broker.clean=${test.profiles}/clean-dir ${build.data} ${project.root}/build/work/derbyDB -broker.ready=Qpid Broker Ready +broker.ready=Ready +broker.stopped=Exception broker.config=${project.root}/build/etc/config-systests-derby.xml profile.excludes=08StandaloneExcludes diff --git a/qpid/java/test-profiles/java.testprofile b/qpid/java/test-profiles/java.testprofile index f920124735..52f1013cf1 100644 --- a/qpid/java/test-profiles/java.testprofile +++ b/qpid/java/test-profiles/java.testprofile @@ -1,6 +1,7 @@ broker.language=java broker=${project.root}/build/bin/qpid-server -p @PORT -m @MPORT -c @CONFIG_FILE -l ${test.profiles}/log4j-test.xml broker.clean=${test.profiles}/clean-dir ${build.data} ${project.root}/build/work/derbyDB -broker.ready=Qpid Broker Ready +broker.ready=Ready +broker.stopped=Exception profile.excludes=08TransientExcludes 08StandaloneExcludes |
