lukecwik commented on a change in pull request #11358: [BEAM-9729] Runner-side
bundle registration cleanup.
URL: https://github.com/apache/beam/pull/11358#discussion_r408935328
##########
File path:
runners/java-fn-execution/src/test/java/org/apache/beam/runners/fnexecution/control/SdkHarnessClientTest.java
##########
@@ -573,7 +577,7 @@ public void
handleCleanupWithStateWhenAwaitingOnClosingOutputReceivers() throws
@Test
public void verifyCacheTokensAreUsedInNewBundleRequest() throws
InterruptedException {
when(fnApiControlClient.handle(any(BeamFnApi.InstructionRequest.class)))
- .thenReturn(createRegisterResponse());
+ .thenReturn(createAnyResponse());
Review comment:
Since this function is only used once, you might want to inline the contents
of the function here for readability.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services