Author: gtully
Date: Thu Jul 30 17:19:50 2009
New Revision: 799376
URL: http://svn.apache.org/viewvc?rev=799376&view=rev
Log:
give jetty more time when ssl is involved - hudson shows intermittent failure
Modified:
activemq/trunk/activemq-optional/src/test/java/org/apache/activemq/transport/https/HttpsTransportBrokerTest.java
Modified:
activemq/trunk/activemq-optional/src/test/java/org/apache/activemq/transport/https/HttpsTransportBrokerTest.java
URL:
http://svn.apache.org/viewvc/activemq/trunk/activemq-optional/src/test/java/org/apache/activemq/transport/https/HttpsTransportBrokerTest.java?rev=799376&r1=799375&r2=799376&view=diff
==============================================================================
---
activemq/trunk/activemq-optional/src/test/java/org/apache/activemq/transport/https/HttpsTransportBrokerTest.java
(original)
+++
activemq/trunk/activemq-optional/src/test/java/org/apache/activemq/transport/https/HttpsTransportBrokerTest.java
Thu Jul 30 17:19:50 2009
@@ -36,9 +36,15 @@
//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);
}