diff --git a/tests/junit-functional/org/jgroups/tests/RelayRpcDispatcherTest.java b/tests/junit-functional/org/jgroups/tests/RelayRpcDispatcherTest.java index 6fa670f1a8..c358e0f3ed 100644 --- a/tests/junit-functional/org/jgroups/tests/RelayRpcDispatcherTest.java +++ b/tests/junit-functional/org/jgroups/tests/RelayRpcDispatcherTest.java @@ -125,14 +125,13 @@ public void testNotificationAndRpcRelay2Transit(Class cl) throw assertSiteView(x, List.of(LON, SFO)); assert getCurrentSites(y) == null; - System.out.println("B: sending message 0 to the site master of SFO"); - Address sm_sfo=new SiteMaster(SFO); MethodCall call=new MethodCall(ServerObject.class.getMethod("foo")); System.out.println("B: call foo method on A"); Object rsp = rpcb.callRemoteMethod(a.getAddress(), call, new RequestOptions(ResponseMode.GET_ALL,5000)); System.out.println("RSP is: " + rsp ); - + System.out.println("B: sending message 0 to the site master of SFO"); + Address sm_sfo=new SiteMaster(SFO); System.out.println("B: call foo method on SFO master site"); rsp = rpcb.callRemoteMethod(sm_sfo, call, new RequestOptions(ResponseMode.GET_ALL,15000)); System.out.println("RSP is: " + rsp );