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

Fix the timeout to ensure the execution of the test.

parent f84ffab3
...@@ -51,7 +51,7 @@ public class AdminREST extends TestCase { ...@@ -51,7 +51,7 @@ public class AdminREST extends TestCase {
startAgentServer((short)0); startAgentServer((short)0);
// wait REST bundle // wait REST bundle
Helper.waitConnection(Helper.getBaseJmsURI(), 10); Helper.waitConnection(Helper.getBaseJmsURI(), 20);
ClientConfig config = new ClientConfig(); ClientConfig config = new ClientConfig();
Client client = ClientBuilder.newClient(config); Client client = ClientBuilder.newClient(config);
......
...@@ -58,7 +58,7 @@ public class ClientRESTBytesMessage extends TestCase { ...@@ -58,7 +58,7 @@ public class ClientRESTBytesMessage extends TestCase {
startAgentServer((short)0); startAgentServer((short)0);
// wait REST bundle // wait REST bundle
Helper.waitConnection(Helper.getBaseJmsURI(), 10); Helper.waitConnection(Helper.getBaseJmsURI(), 20);
ClientConfig config = new ClientConfig(); ClientConfig config = new ClientConfig();
Client client = ClientBuilder.newClient(config); Client client = ClientBuilder.newClient(config);
......
...@@ -59,7 +59,7 @@ public class ClientRESTMapMessage extends TestCase { ...@@ -59,7 +59,7 @@ public class ClientRESTMapMessage extends TestCase {
startAgentServer((short)0); startAgentServer((short)0);
// wait REST bundle // wait REST bundle
Helper.waitConnection(Helper.getBaseJmsURI(), 10); Helper.waitConnection(Helper.getBaseJmsURI(), 20);
ClientConfig config = new ClientConfig(); ClientConfig config = new ClientConfig();
Client client = ClientBuilder.newClient(config); Client client = ClientBuilder.newClient(config);
......
...@@ -50,7 +50,7 @@ public class ClientRESTSSL extends TestCase { ...@@ -50,7 +50,7 @@ public class ClientRESTSSL extends TestCase {
startAgentServer((short)0); startAgentServer((short)0);
// wait REST bundle // wait REST bundle
Helper.waitConnection(Helper.getBaseJmsURI(), 10); Helper.waitConnection(Helper.getBaseJmsURI(), 20);
javax.net.ssl.HttpsURLConnection.setDefaultHostnameVerifier( javax.net.ssl.HttpsURLConnection.setDefaultHostnameVerifier(
new javax.net.ssl.HostnameVerifier(){ new javax.net.ssl.HostnameVerifier(){
......
...@@ -51,7 +51,7 @@ public class ClientRESTSelector extends TestCase { ...@@ -51,7 +51,7 @@ public class ClientRESTSelector extends TestCase {
startAgentServer((short)0); startAgentServer((short)0);
// wait REST bundle // wait REST bundle
Helper.waitConnection(Helper.getBaseJmsURI(), 10); Helper.waitConnection(Helper.getBaseJmsURI(), 20);
ClientConfig config = new ClientConfig(); ClientConfig config = new ClientConfig();
Client client = ClientBuilder.newClient(config); Client client = ClientBuilder.newClient(config);
......
...@@ -58,7 +58,7 @@ public class ClientRESTTextMessage extends TestCase { ...@@ -58,7 +58,7 @@ public class ClientRESTTextMessage extends TestCase {
startAgentServer((short)0); startAgentServer((short)0);
// wait REST bundle // wait REST bundle
Helper.waitConnection(Helper.getBaseJmsURI(), 10); Helper.waitConnection(Helper.getBaseJmsURI(), 20);
ClientConfig config = new ClientConfig(); ClientConfig config = new ClientConfig();
Client client = ClientBuilder.newClient(config); Client client = ClientBuilder.newClient(config);
......
...@@ -75,7 +75,7 @@ public class ClientRESTTextPerf extends TestCase { ...@@ -75,7 +75,7 @@ public class ClientRESTTextPerf extends TestCase {
startAgentServer((short)0); startAgentServer((short)0);
// wait REST bundle // 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"); System.out.println("start TEST: \n\tnb thread " + getNbThread() + ", send/receive " + getNbMessage() + " messages/thread");
writeIntoFile("nb 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 { ...@@ -58,7 +58,7 @@ public class ClientRESTTopic extends TestCase {
startAgentServer((short)0); startAgentServer((short)0);
// wait REST bundle // wait REST bundle
Helper.waitConnection(Helper.getBaseJmsURI(), 10); Helper.waitConnection(Helper.getBaseJmsURI(), 20);
ClientConfig config = new ClientConfig(); ClientConfig config = new ClientConfig();
Client client = ClientBuilder.newClient(config); Client client = ClientBuilder.newClient(config);
......
...@@ -51,7 +51,7 @@ public class ClientRESTTransacted extends TestCase { ...@@ -51,7 +51,7 @@ public class ClientRESTTransacted extends TestCase {
startAgentServer((short)0); startAgentServer((short)0);
// wait REST bundle // wait REST bundle
Helper.waitConnection(Helper.getBaseJmsURI(), 10); Helper.waitConnection(Helper.getBaseJmsURI(), 20);
// test transacted producer // test transacted producer
transactedProd(); transactedProd();
......
...@@ -51,7 +51,7 @@ public class JmxREST extends TestCase { ...@@ -51,7 +51,7 @@ public class JmxREST extends TestCase {
startAgentServer((short)0); startAgentServer((short)0);
// wait REST bundle // wait REST bundle
Helper.waitConnection(Helper.getBaseJmsURI(), 10); Helper.waitConnection(Helper.getBaseJmsURI(), 20);
ClientConfig config = new ClientConfig(); ClientConfig config = new ClientConfig();
Client client = ClientBuilder.newClient(config); 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