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:
Adrian T. Co 2006-03-08 10:01:48 +00:00
parent bd04e351e7
commit 7e6e788362

View File

@ -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);
} }