Commit d03e624e authored by Andre Freyssinet's avatar Andre Freyssinet
Browse files

Minor changes.

parent b1efd7ac
......@@ -106,6 +106,8 @@ public class Test57b extends BaseTest {
return;
}
long dt1, dt2;
// Phase1: Send a big number of messages.
String[] sentMsgId = new String[2*NbMsg];
try {
......@@ -133,7 +135,8 @@ public class Test57b extends BaseTest {
}
}
long end = System.currentTimeMillis();
System.out.println("All messages sent: " + ((end -start)/1000L));
dt1 = end -start;
System.out.println("All messages sent: " + (dt1/1000L));
prod.close();
sess.close();
......@@ -184,7 +187,8 @@ public class Test57b extends BaseTest {
}
}
long end = System.currentTimeMillis();
System.out.println("All messages sent: " + ((end -start)/1000L));
dt2 = end -start;
System.out.println("All messages sent: " + (dt2/1000L));
prod.close();
sess.close();
......@@ -195,6 +199,7 @@ public class Test57b extends BaseTest {
return;
}
BaseTest.assertTrue(((dt2*10)/dt1) < 12);
// Phase4: Kill and restart server
try {
System.out.println("Server stop ");
......
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