From d12c087a54a72225f09e38857f1a7d0022c80f7c Mon Sep 17 00:00:00 2001 From: Gary Tully Date: Thu, 30 Jul 2009 17:19:50 +0000 Subject: [PATCH] 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 --- .../transport/https/HttpsTransportBrokerTest.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/activemq-optional/src/test/java/org/apache/activemq/transport/https/HttpsTransportBrokerTest.java b/activemq-optional/src/test/java/org/apache/activemq/transport/https/HttpsTransportBrokerTest.java index 92f3510f33..30f5ac1dd6 100644 --- a/activemq-optional/src/test/java/org/apache/activemq/transport/https/HttpsTransportBrokerTest.java +++ b/activemq-optional/src/test/java/org/apache/activemq/transport/https/HttpsTransportBrokerTest.java @@ -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); }