Skip to content

Commit

Permalink
[CELEBORN-1397] Fix compilation error on branch-0.4
Browse files Browse the repository at this point in the history
### What changes were proposed in this pull request?
Fix MasterClient construct method use in MasterClientSuiteJ.

### Why are the changes needed?
MasterClient's construct method has changed by #2281 on main. It's a feature to support authentication on branch-0.5.

#2466 's backport on branch-0.4 here caused a conflict in MasterClientSuiteJ.java:319.

### Does this PR introduce _any_ user-facing change?
No.

### How was this patch tested?
Local compile test.

Closes #2475 from onebox-li/branch-0.4-fix-compile.

Authored-by: onebox-li <lyh-36@163.com>
Signed-off-by: SteNicholas <programgeek@163.com>
  • Loading branch information
onebox-li authored and SteNicholas committed Apr 23, 2024
1 parent 1672887 commit c388caa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ private void checkOneMasterAskFailedInHA(Exception exception) {
.when(rpcEnv)
.setupEndpointRef(Mockito.any(RpcAddress.class), Mockito.anyString());

MasterClient client = new MasterClient(rpcEnv, conf, false);
MasterClient client = new MasterClient(rpcEnv, conf);
HeartbeatFromWorker message = Mockito.mock(HeartbeatFromWorker.class);

HeartbeatFromWorkerResponse response = null;
Expand Down

0 comments on commit c388caa

Please sign in to comment.