summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Gemmell <robbie@apache.org>2011-04-18 10:05:43 +0000
committerRobert Gemmell <robbie@apache.org>2011-04-18 10:05:43 +0000
commite057c29dd31369739c7dfad730ccc1e84d89a287 (patch)
tree7232a6a54b4749af9a7cc9b698355fb66bf7847a
parente19102eab2df74b491000e7376b459bead70d173 (diff)
downloadqpid-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.java13
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();