You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "nodece (via GitHub)" <gi...@apache.org> on 2025/04/11 08:21:58 UTC
[I] Flaky-test: org.apache.pulsar.broker.admin.AuthZTest.before [pulsar]
nodece opened a new issue, #24173:
URL: https://github.com/apache/pulsar/issues/24173
### Search before asking
- [x] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.
### Example failure
https://github.com/apache/pulsar/actions/runs/14397636014/job/40376647685?pr=24171#step:11:1847
### Exception stacktrace
<!-- copy-paste the stack trace in the code block below -->
```
Error: TransactionAndSchemaAuthZTest>AuthZTest.after:101 ยป UnfinishedStubbing
Unfinished stubbing detected here:
-> at org.apache.pulsar.broker.admin.AuthZTest.before(AuthZTest.java:88)
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
```
### Are you willing to submit a PR?
- [ ] I'm willing to submit a PR!
--
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: commits-unsubscribe@pulsar.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Flaky-test: org.apache.pulsar.broker.admin.AuthZTest.before [pulsar]
Posted by "lhotari (via GitHub)" <gi...@apache.org>.
lhotari commented on issue #24173:
URL: https://github.com/apache/pulsar/issues/24173#issuecomment-2801881293
should have been addressed by #24174
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Flaky-test: org.apache.pulsar.broker.admin.AuthZTest.before [pulsar]
Posted by "lhotari (via GitHub)" <gi...@apache.org>.
lhotari closed issue #24173: Flaky-test: org.apache.pulsar.broker.admin.AuthZTest.before
URL: https://github.com/apache/pulsar/issues/24173
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org