-
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
Fix RedisClientName and MongoClientName can't be applied to parameters #12902
Conversation
/cc @xtaixe can you check if this PR fixes your issue? You can follow these instructions https://github.com/quarkusio/quarkus/blob/master/CONTRIBUTING.md#checking-an-issue-is-fixed-in-master but do them against this PR and not the master branch. Thanks |
...ation-tests/redis-client/src/main/java/io/quarkus/redis/it/RedisWithNamedClientResource.java
Outdated
Show resolved
Hide resolved
extensions/redis-client/runtime/src/main/java/io/quarkus/redis/client/RedisClientName.java
Show resolved
Hide resolved
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.
And shouldn't we do exactly the same for MongoClientName
? I think this one comes from there?
...ation-tests/redis-client/src/main/java/io/quarkus/redis/it/RedisWithNamedClientResource.java
Outdated
Show resolved
Hide resolved
Okay to do it for MongoClientName too. I wanted confirmation first here #12898 (comment). I can add a separate commit. WDYT? @gsmet |
+1 for a separate commit. Let's add separate tests for both to be sure. |
@gsmet suggestions applied. Let me know what you think. |
@machi1990 tested redis (with SNAPSHOT, since it's already merged). Worked fine. Thanks. |
@xtaixe thanks for verification. |
I haven't backported this one given too many conflicts. Once again, better not fiddle with existing tests as it makes backporting a nightmare. |
Ah I think it's the Mongo related tests that might have caused an issue since I noticed some duplication and decided to deal with them.
Noted. Sorry for the nightmare. |
Fixes #12898