mirror of https://github.com/apache/activemq.git
increase test timeouts
This commit is contained in:
parent
9752e1dc93
commit
c646fac75a
|
@ -46,12 +46,12 @@ public class SslContextNBrokerServiceTest {
|
|||
private ClassPathXmlApplicationContext context;
|
||||
Map<String, BrokerService> beansOfType;
|
||||
|
||||
@Test(timeout = 2 * 60 * 1000)
|
||||
@Test(timeout = 3 * 60 * 1000)
|
||||
public void testDummyConfigurationIsolation() throws Exception {
|
||||
assertTrue("dummy bean has dummy cert", verifyCredentials("dummy"));
|
||||
}
|
||||
|
||||
@Test(timeout = 2 * 60 * 1000)
|
||||
@Test(timeout = 3 * 60 * 1000)
|
||||
public void testActiveMQDotOrgConfigurationIsolation() throws Exception {
|
||||
assertTrue("good bean has amq cert", verifyCredentials("activemq.org"));
|
||||
}
|
||||
|
@ -81,7 +81,7 @@ public class SslContextNBrokerServiceTest {
|
|||
SSLSocketFactory factory = context.getSocketFactory();
|
||||
LOG.info("Connecting to broker: " + broker.getBrokerName() + " on: " + brokerUri.getHost() + ":" + brokerUri.getPort());
|
||||
SSLSocket socket = (SSLSocket) factory.createSocket(brokerUri.getHost(), brokerUri.getPort());
|
||||
socket.setSoTimeout(60 * 1000);
|
||||
socket.setSoTimeout(2 * 60 * 1000);
|
||||
socket.startHandshake();
|
||||
socket.close();
|
||||
|
||||
|
|
Loading…
Reference in New Issue