Skip to content

Commit

Permalink
ns
Browse files Browse the repository at this point in the history
  • Loading branch information
belaban committed Sep 26, 2023
1 parent c71ce35 commit 4496e35
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,14 +125,13 @@ public void testNotificationAndRpcRelay2Transit(Class<? extends RELAY> 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 );
Expand Down

0 comments on commit 4496e35

Please sign in to comment.