summaryrefslogtreecommitdiff
path: root/java
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
commitf08f8e4c627b22d27dd803e846460c5c7483b20c (patch)
tree0fcb3d9aece024a7f5a52f40f41f1fcfaaf51890 /java
parent059bd4baf0ff0e01dad9eb90c025963b947e4add (diff)
downloadqpid-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.java13
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();