Commit 46b327fa authored by Andre Freyssinet's avatar Andre Freyssinet

Fix the timeout to ensure the execution of the test.

parent cd820a1e
......@@ -125,7 +125,7 @@ public class Test_CAck1_Q extends TestCase {
public void admin() throws Exception {
// connection
javax.jms.ConnectionFactory cf = TcpConnectionFactory.create("localhost", 2560);
((org.objectweb.joram.client.jms.ConnectionFactory) cf).getParameters().connectingTimer = 10;
((org.objectweb.joram.client.jms.ConnectionFactory) cf).getParameters().connectingTimer = 60;
AdminModule.connect(cf);
// create a Queue
......
......@@ -125,8 +125,7 @@ public class Test_CAck1_T extends TestCase {
*/
public void admin() throws Exception {
// conexion
org.objectweb.joram.client.jms.admin.AdminModule.connect("localhost", 2560,
"root", "root", 60);
org.objectweb.joram.client.jms.admin.AdminModule.connect("localhost", 2560, "root", "root", 60);
// create a Topic
org.objectweb.joram.client.jms.Topic topic =
(org.objectweb.joram.client.jms.Topic) org.objectweb.joram.client.jms.Topic.create("topic");
......
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