Oops, wasn't retrieving the reply

This commit is contained in:
Tony Garnock-Jones 2011-01-06 09:33:03 -05:00
parent 7db19f77ad
commit 7495ea840b
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ public class TestPingPong {
long startTime = System.currentTimeMillis();
for (int i = 0; i < 100000; i++) {
api.post("req", "request", Integer.toString(i), null);
//System.out.println("Reply: " + sub.getQueue().take());
sub.getQueue().take();
int j = i + 1;
if ((j % 100) == 0) {
long now = System.currentTimeMillis();