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 | e057c29dd31369739c7dfad730ccc1e84d89a287 (patch) | |
tree | 7232a6a54b4749af9a7cc9b698355fb66bf7847a | |
parent | e19102eab2df74b491000e7376b459bead70d173 (diff) | |
download | qpid-python-e057c29dd31369739c7dfad730ccc1e84d89a287.tar.gz |
QPID-3142: remove incorrectly added wrapping check on alternative cleanup option
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1094445 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | qpid/java/systests/src/main/java/org/apache/qpid/test/utils/QpidBrokerTestCase.java | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/qpid/java/systests/src/main/java/org/apache/qpid/test/utils/QpidBrokerTestCase.java b/qpid/java/systests/src/main/java/org/apache/qpid/test/utils/QpidBrokerTestCase.java index d7da5d8a78..6fcde7e185 100644 --- a/qpid/java/systests/src/main/java/org/apache/qpid/test/utils/QpidBrokerTestCase.java +++ b/qpid/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(); |