[Feature] JAVA: How to disabled Dubbo on unittest
- Dominant language
- Java
- Stars
- 41.6k
- Forks
- 26.4k
- Avg merge
- 15h 13m
- Merged PRs (30d)
- 4
Description
### Pre-check
- [X] I am sure that all the content I provide is in English.
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/dubbo/issues?q=is%3Aissue) and found no similar feature requirement.
### Apache Dubbo Component
Java SDK (apache/dubbo)
### Descriptions
I want to exclude Dubbo, I tried but not work.
```
@EnableAutoConfiguration(exclude= {
DubboAutoConfiguration.class,
DubboListenerAutoConfiguration.class,
DubboRelaxedBindingAutoConfiguration.class,
DubboObservationAutoConfiguration.class,
DubboMicrometerTracingAutoConfiguration.class,
DubboRelaxedBinding2AutoConfiguration.class,
WebMvcObservationAutoConfiguration.class
})
```
### Related issues
_No response_
### Are you willing to submit a pull request to fix on your own?
- [ ] Yes I am willing to submit a pull request on my own!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
Contributor guide
Research direction
Start by reproducing the unittest configuration from the issue and inspect the listed DubboAutoConfiguration and related auto-configuration entry points. Determine why the exclusions do not disable Dubbo, then document or implement the supported way to disable it and verify that a unittest starts without Dubbo initialization.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend, distributed-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100