mirror of https://github.com/apache/activemq.git
resolve failovertransactiontest hang in hudson
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1022058 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e3f784df2a
commit
80528f64a8
|
@ -71,6 +71,12 @@ public class FailoverTransactionTest extends TestSupport {
|
|||
startBroker(true);
|
||||
}
|
||||
|
||||
public void setUp() throws Exception {
|
||||
super.setMaxTestTime(20 * 60 * 1000); // some boxes can be real slow
|
||||
super.setAutoFail(true);
|
||||
super.setUp();
|
||||
}
|
||||
|
||||
public void tearDown() throws Exception {
|
||||
stopBroker();
|
||||
}
|
||||
|
|
|
@ -79,6 +79,7 @@ public class SocketProxy {
|
|||
|
||||
public void open() throws Exception {
|
||||
serverSocket = new ServerSocket();
|
||||
serverSocket.setReuseAddress(true);
|
||||
if (receiveBufferSize > 0) {
|
||||
serverSocket.setReceiveBufferSize(receiveBufferSize);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue