Skip to content

Commit

Permalink
NO-JIRA FileConfigurationParserTest creating data folder
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
clebertsuconic committed May 16, 2019
1 parent ea973ce commit ce92cc8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Expand Up @@ -79,7 +79,7 @@ public void testDivertRoutingNameIsNotRequired() throws Exception {

@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);
Expand Down
Expand Up @@ -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>
Expand All @@ -32,4 +34,5 @@
</address>
</addresses>
</core>

</configuration>

0 comments on commit ce92cc8

Please sign in to comment.