CVS update: JGroups/tests/junit/org/jgroups/tests DiscardTest.java
"Bela Ban" <[email protected]> Tue, 21 Sep 2010 07:43:24 +0000
| Newsgroups | gmane.comp.java.javagroups.cvs |
|---|---|
| Message-ID | <[email protected]> |
User: belaban
Date: 10/09/21 07:43:24
Modified: tests/junit/org/jgroups/tests Tag: Branch_JGroups_2_10
DiscardTest.java
Log:
ns
Revision Changes Path
No revision
No revision
1.23.2.2 +3 -3 JGroups/tests/junit/org/jgroups/tests/DiscardTest.java
Index: DiscardTest.java
===================================================================
RCS file: /cvsroot/javagroups/JGroups/tests/junit/org/jgroups/tests/DiscardTest.java,v
retrieving revision 1.23.2.1
retrieving revision 1.23.2.2
diff -u -r1.23.2.1 -r1.23.2.2
--- DiscardTest.java 21 Sep 2010 07:23:23 -0000 1.23.2.1
+++ DiscardTest.java 21 Sep 2010 07:43:24 -0000 1.23.2.2
@@ -18,7 +18,7 @@
* by discarding 10% of all network-bound messages
*
* @author Bela Ban
- * @version $Id: DiscardTest.java,v 1.23.2.1 2010/09/21 07:23:23 belaban Exp $
+ * @version $Id: DiscardTest.java,v 1.23.2.2 2010/09/21 07:43:24 belaban Exp $
*/
@Test(groups=Global.STACK_DEPENDENT,sequential=true)
public class DiscardTest extends ChannelTestBase {
@@ -54,9 +54,9 @@
Address ch1_addr, ch2_addr;
long start, stop;
- ch1=createChannel(true);
+ ch1=createChannel(true, 2, "A");
ch1.setReceiver(new MyReceiver(ch1_all_received, NUM_MSGS, "ch1"));
- ch2=createChannel(ch1);
+ ch2=createChannel(ch1, "B");
ch2.setReceiver(new MyReceiver(ch2_all_received, NUM_MSGS, "ch2"));
if(discard) {
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev