Commit 16dbc60f authored by Andre Freyssinet's avatar Andre Freyssinet

Fix the timeout to ensure the execution of the test.

parent f84ffab3
......@@ -51,7 +51,7 @@ public class AdminREST extends TestCase {
startAgentServer((short)0);
// wait REST bundle
Helper.waitConnection(Helper.getBaseJmsURI(), 10);
Helper.waitConnection(Helper.getBaseJmsURI(), 20);
ClientConfig config = new ClientConfig();
Client client = ClientBuilder.newClient(config);
......
......@@ -58,7 +58,7 @@ public class ClientRESTBytesMessage extends TestCase {
startAgentServer((short)0);
// wait REST bundle
Helper.waitConnection(Helper.getBaseJmsURI(), 10);
Helper.waitConnection(Helper.getBaseJmsURI(), 20);
ClientConfig config = new ClientConfig();
Client client = ClientBuilder.newClient(config);
......
......@@ -59,7 +59,7 @@ public class ClientRESTMapMessage extends TestCase {
startAgentServer((short)0);
// wait REST bundle
Helper.waitConnection(Helper.getBaseJmsURI(), 10);
Helper.waitConnection(Helper.getBaseJmsURI(), 20);
ClientConfig config = new ClientConfig();
Client client = ClientBuilder.newClient(config);
......
......@@ -50,7 +50,7 @@ public class ClientRESTSSL extends TestCase {
startAgentServer((short)0);
// wait REST bundle
Helper.waitConnection(Helper.getBaseJmsURI(), 10);
Helper.waitConnection(Helper.getBaseJmsURI(), 20);
javax.net.ssl.HttpsURLConnection.setDefaultHostnameVerifier(
new javax.net.ssl.HostnameVerifier(){
......
......@@ -51,7 +51,7 @@ public class ClientRESTSelector extends TestCase {
startAgentServer((short)0);
// wait REST bundle
Helper.waitConnection(Helper.getBaseJmsURI(), 10);
Helper.waitConnection(Helper.getBaseJmsURI(), 20);
ClientConfig config = new ClientConfig();
Client client = ClientBuilder.newClient(config);
......
......@@ -58,7 +58,7 @@ public class ClientRESTTextMessage extends TestCase {
startAgentServer((short)0);
// wait REST bundle
Helper.waitConnection(Helper.getBaseJmsURI(), 10);
Helper.waitConnection(Helper.getBaseJmsURI(), 20);
ClientConfig config = new ClientConfig();
Client client = ClientBuilder.newClient(config);
......
......@@ -75,7 +75,7 @@ public class ClientRESTTextPerf extends TestCase {
startAgentServer((short)0);
// wait REST bundle
Helper.waitConnection(Helper.getBaseJmsURI(), 10);
Helper.waitConnection(Helper.getBaseJmsURI(), 20);
System.out.println("start TEST: \n\tnb thread " + getNbThread() + ", send/receive " + getNbMessage() + " messages/thread");
writeIntoFile("nb thread " + getNbThread() + ", send/receive " + getNbMessage() + " messages/thread");
......
......@@ -58,7 +58,7 @@ public class ClientRESTTopic extends TestCase {
startAgentServer((short)0);
// wait REST bundle
Helper.waitConnection(Helper.getBaseJmsURI(), 10);
Helper.waitConnection(Helper.getBaseJmsURI(), 20);
ClientConfig config = new ClientConfig();
Client client = ClientBuilder.newClient(config);
......
......@@ -51,7 +51,7 @@ public class ClientRESTTransacted extends TestCase {
startAgentServer((short)0);
// wait REST bundle
Helper.waitConnection(Helper.getBaseJmsURI(), 10);
Helper.waitConnection(Helper.getBaseJmsURI(), 20);
// test transacted producer
transactedProd();
......
......@@ -51,7 +51,7 @@ public class JmxREST extends TestCase {
startAgentServer((short)0);
// wait REST bundle
Helper.waitConnection(Helper.getBaseJmsURI(), 10);
Helper.waitConnection(Helper.getBaseJmsURI(), 20);
ClientConfig config = new ClientConfig();
Client client = ClientBuilder.newClient(config);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment