diff options
| author | Martin Ritchie <ritchiem@apache.org> | 2009-09-11 12:25:11 +0000 |
|---|---|---|
| committer | Martin Ritchie <ritchiem@apache.org> | 2009-09-11 12:25:11 +0000 |
| commit | d7e8123bb12b9c2474ca2141db09dbeeb64149f7 (patch) | |
| tree | 3cccdef289f5c2d6925f8556fb2d6d215308f979 /java | |
| parent | d8f6642c02b552eb7fc87da85df7b5619ab3409b (diff) | |
| download | qpid-python-d7e8123bb12b9c2474ca2141db09dbeeb64149f7.tar.gz | |
QPID-2094 : Check if _output is null, if so write test configuration to java.io.tmpdir.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@813798 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java')
| -rw-r--r-- | java/systests/src/main/java/org/apache/qpid/test/utils/QpidTestCase.java | 3 |
1 files changed, 2 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 835a10e87f..6c35466cd9 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 @@ -514,7 +514,8 @@ public class QpidTestCase extends TestCase public String getTestConfigFile() { - return _output + "/" + getTestQueueName() + ".xml"; + String path = _output == null ? System.getProperty("java.io.tmpdir") : _output; + return path + "/" + getTestQueueName() + ".xml"; } protected void saveTestConfiguration() throws ConfigurationException |
