mirror of https://github.com/apache/activemq.git
Add auto fail support when test hangs
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367460 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f2669a70a6
commit
a9e047d92e
|
@ -58,6 +58,7 @@ public class JMSInputStreamTest extends JmsTestSupport {
|
||||||
* @see TestCase#setUp()
|
* @see TestCase#setUp()
|
||||||
*/
|
*/
|
||||||
protected void setUp() throws Exception {
|
protected void setUp() throws Exception {
|
||||||
|
super.setAutoFail(true);
|
||||||
super.setUp();
|
super.setUp();
|
||||||
connection2 = (ActiveMQConnection) factory.createConnection(userName, password);
|
connection2 = (ActiveMQConnection) factory.createConnection(userName, password);
|
||||||
connections.add(connection2);
|
connections.add(connection2);
|
||||||
|
|
Loading…
Reference in New Issue