mirror of https://github.com/apache/activemq.git
[AMQ-8577] Minor updates to assembly unit tests to pass (#855)
* Add broker.waitUntilStarted(5000l); to broker startup tests * Add exclusion for jolokia-access.xml to xml validation tests
This commit is contained in:
parent
1483d1c1e0
commit
2b58e7b09f
|
@ -96,6 +96,7 @@ public class BrokerXmlConfigStartTest {
|
|||
System.err.println("Broker config: " + configUrl);
|
||||
broker = BrokerFactory.createBroker(configUrl);
|
||||
broker.start();
|
||||
broker.waitUntilStarted(5000l);
|
||||
// alive, now try connect to connect
|
||||
try {
|
||||
for (TransportConnector transport : broker.getTransportConnectors()) {
|
||||
|
|
|
@ -51,7 +51,7 @@ public class ValidateXMLConfigTest {
|
|||
File sampleConfDir = new File("target/conf");
|
||||
|
||||
final HashSet<String> skipped = new HashSet<String>(java.util.Arrays.asList(new String[]{
|
||||
"resin-web.xml", "web.xml", "camel.xml"
|
||||
"resin-web.xml", "web.xml", "camel.xml", "jolokia-access.xml"
|
||||
}));
|
||||
|
||||
for (File xmlFile : sampleConfDir.listFiles(new FileFilter() {
|
||||
|
|
Loading…
Reference in New Issue