Skip to content

Commit

Permalink
Correct insertion timing
Browse files Browse the repository at this point in the history
  • Loading branch information
rds13 committed Sep 24, 2003
1 parent 1781302 commit 70ba189
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/junit/org/jgroups/tests/ChannelMonoTest.java
@@ -1,4 +1,4 @@
// $Id: ChannelMonoTest.java,v 1.4 2003/09/24 09:04:38 rds13 Exp $
// $Id: ChannelMonoTest.java,v 1.5 2003/09/24 09:33:54 rds13 Exp $

package org.jgroups.tests;

Expand Down Expand Up @@ -74,11 +74,11 @@ public void testLargeInsertion()
for (int i = 0; i < nitems; i++)
channel.send(new Message(null, null, new String("Msg #" + i).getBytes()));

mythread.join();

stop = System.currentTimeMillis();
logger.info("Took " + (stop - start) + " msecs");

mythread.join();

assertEquals(nitems, mythread.getNum_items());
assertFalse(mythread.isAlive());
}
Expand Down

0 comments on commit 70ba189

Please sign in to comment.