diff options
| author | Robert Gemmell <robbie@apache.org> | 2011-04-18 10:05:43 +0000 |
|---|---|---|
| committer | Robert Gemmell <robbie@apache.org> | 2011-04-18 10:05:43 +0000 |
| commit | f08f8e4c627b22d27dd803e846460c5c7483b20c (patch) | |
| tree | 0fcb3d9aece024a7f5a52f40f41f1fcfaaf51890 /java | |
| parent | 059bd4baf0ff0e01dad9eb90c025963b947e4add (diff) | |
| download | qpid-python-f08f8e4c627b22d27dd803e846460c5c7483b20c.tar.gz | |
QPID-3142: remove incorrectly added wrapping check on alternative cleanup option
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1094445 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java')
| -rw-r--r-- | java/systests/src/main/java/org/apache/qpid/test/utils/QpidBrokerTestCase.java | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/java/systests/src/main/java/org/apache/qpid/test/utils/QpidBrokerTestCase.java b/java/systests/src/main/java/org/apache/qpid/test/utils/QpidBrokerTestCase.java index d7da5d8a78..6fcde7e185 100644 --- a/java/systests/src/main/java/org/apache/qpid/test/utils/QpidBrokerTestCase.java +++ b/java/systests/src/main/java/org/apache/qpid/test/utils/QpidBrokerTestCase.java @@ -285,17 +285,14 @@ public class QpidBrokerTestCase extends QpidTestCase fail("Unable to test without config file:" + _configFile); } - if(_brokerCleanBetweenTests) + String existingQpidWorkPath = System.getProperty(BROKER_EXISTING_QPID_WORK); + if(existingQpidWorkPath != null && !existingQpidWorkPath.equals("")) { cleanBroker(); - String existingQpidWorkPath = System.getProperty(BROKER_EXISTING_QPID_WORK); - if(existingQpidWorkPath != null && !existingQpidWorkPath.equals("")) - { - File existing = new File(existingQpidWorkPath); - File qpidWork = new File(getQpidWork(_broker, getPort())); - FileUtils.copyRecursive(existing, qpidWork); - } + File existing = new File(existingQpidWorkPath); + File qpidWork = new File(getQpidWork(_broker, getPort())); + FileUtils.copyRecursive(existing, qpidWork); } startBroker(); |
