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
1 changed files with 6 additions and 0 deletions

View File

@ -32,6 +32,12 @@ public class HttpTransportBrokerTest extends TransportBrokerTestSupport {
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() {
return suite(HttpTransportBrokerTest.class);
}