diff options
| author | Martin Ritchie <ritchiem@apache.org> | 2008-11-07 17:42:17 +0000 |
|---|---|---|
| committer | Martin Ritchie <ritchiem@apache.org> | 2008-11-07 17:42:17 +0000 |
| commit | 15ea1b2572d040cbf62154b075b1e851cc15a22e (patch) | |
| tree | d698a93be66fe41d3489611213641927d22f0e46 /java/systests/src | |
| parent | 69f969e0f771c0197ad24a00311ecaa78debe4e0 (diff) | |
| download | qpid-python-15ea1b2572d040cbf62154b075b1e851cc15a22e.tar.gz | |
QPID-1439 : Revert change but add ability to track what test started the broker to aid in problem diagnosis
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@712206 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 | 5 |
1 files changed, 2 insertions, 3 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 7bf61365ce..085578c13d 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 @@ -349,9 +349,8 @@ public class QpidTestCase extends TestCase //Augment Path with bin directory in QPID_HOME. env.put("PATH", env.get("PATH").concat(File.pathSeparator + qpidHome + "/bin")); - //Set QPID_WORK on a per test basis to maintain broker logs. - String qpidWork = System.getProperty("QPID_WORK"); - env.put("QPID_WORK", qpidWork + File.separator + _testName ); + //Add the test name to the broker run. + env.put("QPID_PNAME", "-DPNAME=\"" + _testName + "\""); process = pb.start(); |
