thetumbled commented on PR #23053:
URL: https://github.com/apache/pulsar/pull/23053#issuecomment-2238596716
There is an CI can't pass in branch 3.0, could you help to take a look?
@lhotari @dao-jun :
```
StreamingEntryReaderTests.testCanCancelReadEntryRequestAndResumeReading
Unfinished stubbing detected here:
-> at
org.apache.pulsar.broker.service.streamingdispatch.StreamingEntryReaderTests.testCanCancelReadEntryRequestAndResumeReading(StreamingEntryReaderTests.java:286)
E.g. thenReturn() may be missing.
Examples of correct stubbing:
when(mock.isOk()).thenReturn(true);
when(mock.isOk()).thenThrow(exception);
doThrow(exception).when(mock).someVoidMethod();
Hints:
1. missing thenReturn()
2. you are trying to stub a final method, which is not supported
3. you are stubbing the behaviour of another mock inside before
'thenReturn' instruction is completed
```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]