mirror of https://github.com/apache/activemq.git
Add autofail to prevent test hang
see: https://issues.apache.org/jira/browse/AMQ-3842 git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1340275 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
53fff528a7
commit
fa62da8601
|
@ -38,6 +38,12 @@ public class DiscoveryTransportNoBrokerTest extends CombinationTestSupport {
|
||||||
|
|
||||||
private static final Logger LOG = LoggerFactory.getLogger(DiscoveryTransportNoBrokerTest.class);
|
private static final Logger LOG = LoggerFactory.getLogger(DiscoveryTransportNoBrokerTest.class);
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void setUp() throws Exception {
|
||||||
|
setAutoFail(true);
|
||||||
|
super.setUp();
|
||||||
|
}
|
||||||
|
|
||||||
public void testNoExtraThreads() throws Exception {
|
public void testNoExtraThreads() throws Exception {
|
||||||
BrokerService broker = new BrokerService();
|
BrokerService broker = new BrokerService();
|
||||||
TransportConnector tcp = broker.addConnector("tcp://localhost:0?transport.closeAsync=false");
|
TransportConnector tcp = broker.addConnector("tcp://localhost:0?transport.closeAsync=false");
|
||||||
|
|
Loading…
Reference in New Issue