Skip to content

Commit

Permalink
ns
Browse files Browse the repository at this point in the history
  • Loading branch information
belaban committed Oct 28, 2009
1 parent 650ca50 commit 1866130
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
/**
* Tests ProtocolStack.insertProtocol() and removeProtocol()
* @author Bela Ban
* @version $Id: ConfiguratorTest.java,v 1.13 2009/10/20 13:07:09 belaban Exp $
* @version $Id: ConfiguratorTest.java,v 1.14 2009/10/28 15:57:21 belaban Exp $
*/
@Test(groups=Global.FUNCTIONAL,sequential=true)
public class ConfiguratorTest {
ProtocolStack stack;
static final String props="UDP(mcast_addr=225.1.2.3):PING:FD:pbcast.NAKACK(retransmit_timeouts=300,600):UNICAST:FC";
static final String props="UDP:PING:FD:pbcast.NAKACK(retransmit_timeouts=300,600):UNICAST:FC";
final String[] names={"FC", "UNICAST", "NAKACK", "FD", "PING", "UDP"};
final String[] below={"FC", "UNICAST", "TRACE", "NAKACK", "FD", "PING", "UDP"};
final String[] above={"FC", "TRACE", "UNICAST", "NAKACK", "FD", "PING", "UDP"};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
/**
* Tests custom protocol.
* Author: Lenny Phan
* Version: $Id: CustomProtocolTest.java,v 1.6 2009/09/06 13:51:11 belaban Exp $
* Version: $Id: CustomProtocolTest.java,v 1.7 2009/10/28 15:58:38 belaban Exp $
*/
public class CustomProtocolTest {

static final String PROTOCOL_STACK = "UDP(mcast_addr=228.1.2.3;mcast_port=45566;ip_ttl=32):" +
static final String PROTOCOL_STACK = "UDP(mcast_port=45566;ip_ttl=32):" +
"org.jgroups.tests.CustomProtocolTest$MyProtocol:" +
"PING(timeout=3000;num_initial_members=6):" +
"FD(timeout=3000):" +
Expand All @@ -29,6 +29,7 @@ public class CustomProtocolTest {
public static void testMyProtocol() throws Exception {
System.out.println("PROTOCOL_STACK: " + PROTOCOL_STACK);
JChannel channel = new JChannel(PROTOCOL_STACK);
System.out.println("channel = " + channel);
assert true;
}

Expand Down

0 comments on commit 1866130

Please sign in to comment.