-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HBASE-26650 Create module hbase-client-test-support #4016
HBASE-26650 Create module hbase-client-test-support #4016
Conversation
move SpanData matcher support classes to new module.
🎊 +1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
Why not just put them under hbase-client test code? |
Because one test jar should not import another ; test jars should be leaf nodes in any dependency graph. I want to consume these classes from hbase-server:test:jar. |
Is this a best practice? At least in the current hbase code base, we need to depend on the test jar of some modules, for example HBaseTestingUtil is in hbase-server module, and we use it in hbase-mapreduce module. You can check the pom definition, we have lots of tests jar dependencies… |
The I think dependency on a test jar is bad practice and maven authors appear to agree -- you have to go out of your way to have maven produce test jars, they're disabled by default. However, I don't want to hold up the otel improvements on these kinds of layout/organization improvements to our repo. |
I have stumbled into one annoyance -- when a dependency jar is of |
Move
SpanData
matcher support classes to new module. Probably there are others, but start with these for now.This is a prerequisite for further progress with the otel effort.