mirror of https://github.com/apache/activemq.git
resolve hudson intermittent failure, jetty acceptor uses a thread pool such that it does not accept immediatly, a wait or yield is needed before connecting to ensure the listener is active, extending this wait to 1second from the .5 second and adding a yield just in case
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@834830 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3536b1e665
commit
fb7d8d82d6
|
@ -34,7 +34,8 @@ public class HttpTransportBrokerTest extends TransportBrokerTestSupport {
|
|||
protected void setUp() throws Exception {
|
||||
maxWait = 2000;
|
||||
super.setUp();
|
||||
Thread.sleep(500);
|
||||
Thread.sleep(1000);
|
||||
Thread.yield();
|
||||
}
|
||||
|
||||
protected BrokerService createBroker() throws Exception {
|
||||
|
|
Loading…
Reference in New Issue