CVS update: JGroups/tests/other/org/jgroups/tests ViewDeliveryDemo.java
"Bela Ban" <[email protected]> Thu, 16 Sep 2010 14:21:43 +0000
| Newsgroups | gmane.comp.java.javagroups.cvs |
|---|---|
| Message-ID | <[email protected]> |
User: belaban
Date: 10/09/16 14:21:43
Modified: tests/other/org/jgroups/tests ViewDeliveryDemo.java
Log:
ns
Revision Changes Path
1.16 +2 -15 JGroups/tests/other/org/jgroups/tests/ViewDeliveryDemo.java
Index: ViewDeliveryDemo.java
===================================================================
RCS file: /cvsroot/javagroups/JGroups/tests/other/org/jgroups/tests/ViewDeliveryDemo.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- ViewDeliveryDemo.java 9 Apr 2009 09:11:20 -0000 1.15
+++ ViewDeliveryDemo.java 16 Sep 2010 14:21:43 -0000 1.16
@@ -15,7 +15,7 @@
* Verify that all messages are delivered in the view they are sent in
* regardless of members joining, leaving or crashing.
* @author rnewson
- * @version $Id: ViewDeliveryDemo.java,v 1.15 2009/04/09 09:11:20 belaban Exp $
+ * @version $Id: ViewDeliveryDemo.java,v 1.16 2010/09/16 14:21:43 belaban Exp $
*
*/
public final class ViewDeliveryDemo {
@@ -93,20 +93,7 @@
}
}
- private static void reopen() throws Exception {
- System.out.println("closing and reopening.");
- try {
- channel.close();
- System.out.println("closed");
- Thread.sleep(random.nextInt(5000));
- channel.open();
- channel.connect("view_test");
- }
- catch(Throwable t) {
- System.err.println("failed to reopen the channel");
- t.printStackTrace();
- }
- }
+
private static void reconnect() throws Exception {
System.out.println("disconnecting and reconnecting.");
------------------------------------------------------------------------------
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