| org.jgroups.tests.stack.RouterStubTest
RouterStubTest | public class RouterStubTest extends TestCase (Code) | | Tests routing protocol primitives with the new GossipRouter. Since 2.2.1,
the GossipRouter is supposed to answer Gossip requests too.
Note: Disable DEBUG logging before this test, otherwise the stress tests
may timeout.
author: Ovidiu Feodorov author: Bela Ban version: $Id: RouterStubTest.java,v 1.3 2006/10/23 16:16:20 belaban Exp $ since: 2.2.1 |
suite | public static Test suite()(Code) | | |
testEmptyGET | public void testEmptyGET() throws Exception(Code) | | Sends a GossipRouter.GET request to a router with an empty routing table.
|
test_CONNECT_GET | public void test_CONNECT_GET() throws Exception(Code) | | Sends a GossipRouter.CONNECT request followed by a GossipRouter.GET for the
group just registered.
|
test_CONNECT_RouteStressAll | public void test_CONNECT_RouteStressAll() throws Exception(Code) | | Sends a GossipRouter.CONNECT request followed by a series of stress routing
requests to all members of the group.
|
test_CONNECT_Route_To_All | public void test_CONNECT_Route_To_All() throws Exception(Code) | | |
test_CONNECT_Route_To_Other | public void test_CONNECT_Route_To_Other() throws Exception(Code) | | |
test_CONNECT_Route_To_Self | public void test_CONNECT_Route_To_Self() throws Exception(Code) | | Sends a GossipRouter.CONNECT request followed by a series of simple routing requests (to all
members of the group, to itself, to an inexistent member).
|
|
|