This is an automated email from the ASF dual-hosted git repository.
clebertsuconic pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git
The following commit(s) were added to refs/heads/master by this push:
new ce92cc8 NO-JIRA FileConfigurationParserTest creating data folder
ce92cc8 is described below
commit ce92cc827ebe3c70f7e4477916a8df087cbda583
Author: Clebert Suconic <[email protected]>
AuthorDate: Thu May 16 08:55:57 2019 -0400
NO-JIRA FileConfigurationParserTest creating data folder
FileConfigurationParserTest was creating a data folder.
This is simply disabling persistence from the configuration used by the
server on this test as it is not needed.
---
.../activemq/artemis/core/config/impl/FileConfigurationParserTest.java | 2 +-
.../{duplicateQueue.xml => FileConfigurationParser-duplicateQueue.xml} | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git
a/artemis-server/src/test/java/org/apache/activemq/artemis/core/config/impl/FileConfigurationParserTest.java
b/artemis-server/src/test/java/org/apache/activemq/artemis/core/config/impl/FileConfigurationParserTest.java
index 564372d..d9fc446 100644
---
a/artemis-server/src/test/java/org/apache/activemq/artemis/core/config/impl/FileConfigurationParserTest.java
+++
b/artemis-server/src/test/java/org/apache/activemq/artemis/core/config/impl/FileConfigurationParserTest.java
@@ -79,7 +79,7 @@ public class FileConfigurationParserTest extends
ActiveMQTestBase {
@Test
public void testDuplicateQueue() throws Exception {
- String filename = "duplicateQueue.xml";
+ String filename = "FileConfigurationParser-duplicateQueue.xml";
FileConfiguration fc = new FileConfiguration();
FileDeploymentManager deploymentManager = new
FileDeploymentManager(filename);
deploymentManager.addDeployable(fc);
diff --git a/artemis-server/src/test/resources/duplicateQueue.xml
b/artemis-server/src/test/resources/FileConfigurationParser-duplicateQueue.xml
similarity index 95%
rename from artemis-server/src/test/resources/duplicateQueue.xml
rename to
artemis-server/src/test/resources/FileConfigurationParser-duplicateQueue.xml
index 11f1893..5367b22 100644
--- a/artemis-server/src/test/resources/duplicateQueue.xml
+++
b/artemis-server/src/test/resources/FileConfigurationParser-duplicateQueue.xml
@@ -18,7 +18,9 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:activemq
/schema/artemis-configuration.xsd">
+
<core xmlns="urn:activemq:core">
+ <persistence-enabled>false</persistence-enabled>
<addresses>
<address name="a">
<anycast>
@@ -32,4 +34,5 @@
</address>
</addresses>
</core>
+
</configuration>