give jetty more time when ssl is involved - hudson shows intermittent failure

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@799376 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2009-07-30 17:19:50 +00:00
parent dbefbecf1a
commit d12c087a54
1 changed files with 7 additions and 1 deletions

View File

@ -36,9 +36,15 @@ public class HttpsTransportBrokerTest extends HttpTransportBrokerTest {
//System.setProperty("javax.net.debug", "ssl,handshake,data,trustmanager");
super.setUp();
Thread.sleep(500);
Thread.sleep(1000);
}
protected void tearDown() throws Exception {
super.tearDown();
// Give the jetty server more time to shutdown before starting another one
Thread.sleep(1000);
}
public static Test suite() {
return suite(HttpsTransportBrokerTest.class);
}