[fix][broker] Fix typos in Consumer class #18846
Annotations
2 errors and 2 warnings
Run unit test group 'BROKER_GROUP_3'
Process completed with exit code 1.
|
Publish Test Report:
pulsar-broker/src/test/java/org/apache/pulsar/broker/admin/NamespaceAuthZTest.java#L582
Unfinished stubbing detected here:
-> at org.apache.pulsar.broker.admin.NamespaceAuthZTest.setAuthorizationOperationChecker(NamespaceAuthZTest.java:135)
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
|
Report detected thread leaks
Summary: Tests in class org.apache.pulsar.broker.admin.NamespaceAuthZTest created 88 new threads. There are now 97 threads in total.
|
Report detected thread leaks
Summary: Tests in class org.apache.pulsar.broker.admin.AdminApiTest created 136 new threads. There are now 145 threads in total.
|
The logs for this run have expired and are no longer available.
Loading