mirror of
https://github.com/apache/activemq.git
synced 2025-02-18 16:10:45 +00:00
Added sleep after tearDown to give the jetty server enough time to shutdown before starting the next run.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384170 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bd04e351e7
commit
7e6e788362
@ -32,6 +32,12 @@ public class HttpTransportBrokerTest extends TransportBrokerTestSupport {
|
|||||||
super.setUp();
|
super.setUp();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected void tearDown() throws Exception {
|
||||||
|
super.tearDown();
|
||||||
|
// Give the jetty server enough time to shutdown before starting another one
|
||||||
|
Thread.sleep(300);
|
||||||
|
}
|
||||||
|
|
||||||
public static Test suite() {
|
public static Test suite() {
|
||||||
return suite(HttpTransportBrokerTest.class);
|
return suite(HttpTransportBrokerTest.class);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user