-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Enable tracing in the SmallRye GraphQL extension #9439
Conversation
It seems that |
It seems like we need to have a way for |
That could be useful, but it does not explain or fix the root cause why the |
Are the dependencies and the configuration the same for devmode, prod and tests in this case? If they are the same, we should observe the same responses in all modes, iiuc. |
The dependencies will never be exactly the same because we're talking about a regular application versus a unit test within the codebase of a Quarkus extension. But generally I'd say they are more or less the same. Also tried reproducing the same with |
Hm, can't you do the following: Instead of adding
as a Maven project dependency, can't you just add it via |
If I remove it from the pom and add it just to
then the test passes only if I run that test separately. If I run any other test along with it in the same Maven execution, it behaves as if the opentracing dependency is not there. |
You can probably just add |
You mean in |
Yeah, that's what I'm saying. But I just now saw that you actually need opentracing in your tests, so forget everything I have said in this issue :) |
I removed the line from |
Fine with me |
@phillip-kruger can you review that one? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks @jmartisk !
Fixes #9322
cc @phillip-kruger