[fix][broker] topic policy deadlock block metadata thread. #22356
Annotations
3 errors and 3 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#L604
Unfinished stubbing detected here:
-> at org.apache.pulsar.broker.admin.NamespaceAuthZTest.setAuthorizationOperationChecker(NamespaceAuthZTest.java:151)
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
|
Publish Test Report:
pulsar-broker/src/test/java/org/apache/pulsar/broker/admin/TransactionAndSchemaAuthZTest.java#L127
java.lang.NullPointerException: Cannot invoke "org.apache.pulsar.client.admin.PulsarAdmin.topics()" because "this.superUserAdmin" is null
|
Report detected thread leaks
Summary: Tests in class org.apache.pulsar.broker.admin.AdminApi2Test created 103 new threads. There are now 112 threads in total.
|
Report detected thread leaks
Summary: Tests in class org.apache.pulsar.broker.admin.AdminApiHealthCheckTest created 67 new threads. There are now 76 threads in total.
|
Report detected thread leaks
Summary: Tests in class org.apache.pulsar.broker.admin.TopicPoliciesWithBrokerRestartTest created 73 new threads. There are now 82 threads in total.
|
Loading