You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "BewareMyPower (via GitHub)" <gi...@apache.org> on 2024/05/07 11:49:01 UTC
[I] [Bug] Unable to run tests in the pulsar-broker-auth-sasl module [pulsar]
BewareMyPower opened a new issue, #22664:
URL: https://github.com/apache/pulsar/issues/22664
### Search before asking
- [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.
### Read release policy
- [X] I understand that unsupported versions don't get bug fixes. I will attempt to reproduce the issue on a supported version of Pulsar client and Pulsar broker.
### Version
- OS: macOS Ventura 13.6.3
- Java: 17.0.7
- Pulsar: master (a7e1fcd0c508d2a0ee1e6b0fbffa5ae397db5948)
### Minimal reproduce step
Run `ProxySaslAuthenticationTest` in Intellij Idea or just trivial maven command:
```bash
mvn test -pl pulsar-broker-auth-sasl -Dtest='ProxySaslAuthenticationTest'
```
### What did you expect to see?
The test should run.
### What did you see instead?
When running tests in Intellij, it said `unable to resolve class reference io/opentelemetry/sdk/testing/assertj/LongSumAssert`.
```
2024-05-07T19:45:04,135 - INFO - [main:Logger@112] - [[TestNGClassFinder]] Unable to read methods on class org.apache.pulsar.broker.authentication.ProxySaslAuthenticationTest - unable to resolve class reference io/opentelemetry/sdk/testing/assertj/LongSumAssert
2024-05-07T19:45:04,151 - INFO - [main:Logger@112] - [TestNG] Running:
/Users/xuyunze/Library/Caches/JetBrains/IdeaIC2024.1/temp-testng-customsuite.xml
```
When running the `mvn test` command, no tests are run.
```
[INFO] Running org.apache.pulsar.broker.authentication.ProxySaslAuthenticationTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.487 s - in org.apache.pulsar.broker.authentication.ProxySaslAuthenticationTest
```
### Anything else?
It seems that this module missed the `opentelemetry-sdk-testing` dependency.
### Are you willing to submit a PR?
- [X] 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] [Bug] Unable to run tests in the pulsar-broker-auth-sasl module [pulsar]
Posted by "lhotari (via GitHub)" <gi...@apache.org>.
lhotari closed issue #22664: [Bug] Unable to run tests in the pulsar-broker-auth-sasl module
URL: https://github.com/apache/pulsar/issues/22664
--
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