File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed
artemis-server/src/test/java/org/apache/activemq/artemis/core/server Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -32,15 +32,12 @@ public class ActiveMQServersTest {
3232 @ Test
3333 public void testNewActiveMQServerFromConfigURLRespectsXmlPersistenceEnabled (@ TempDir Path tempDir ) throws Exception {
3434 Path configFile = tempDir .resolve ("broker.xml" );
35- String xml = "<configuration xmlns=\" urn:activemq\" xmlns:xsi=\" http://www.w3.org/2001/XMLSchema-instance\" \n " +
36- " xsi:schemaLocation=\" urn:activemq ../../../../activemq-server/src/main/resources/schema/artemis-server.xsd\" >\n " +
37- " <core xmlns=\" urn:activemq:core\" >\n " +
38- " <persistence-enabled>false</persistence-enabled>\n " +
39- " <acceptors>\n " +
40- " <acceptor name=\" vm\" >vm://0</acceptor>\n " +
41- " </acceptors>\n " +
42- " </core>\n " +
43- "</configuration>\n " ;
35+ String xml = """
36+ <configuration xmlns="urn:activemq">
37+ <core xmlns="urn:activemq:core">
38+ <persistence-enabled>false</persistence-enabled>
39+ </core>
40+ </configuration>""" ;
4441 Files .writeString (configFile , xml );
4542
4643 ActiveMQJAASSecurityManager securityManager = new ActiveMQJAASSecurityManager (InVMLoginModule .class .getName (), new SecurityConfiguration ());
You can’t perform that action at this time.
0 commit comments