Skip to content
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

Add test coverage for declaring @Priority on producers #499

Merged
merged 1 commit into from
Dec 1, 2023

Conversation

manovotn
Copy link
Contributor

Fixes #498

This is aimed to cover the addition to the spec with the assumption that basics are already covered.
More precisely, using a comment depicting this from the original issue (jakartaee/cdi#556 (comment)), this PR aims to add coverage for producer2, producer3, producer4 and producer8. The remaining scenarios were already possible prior to this change.

Note that the test using @Resource producer is in the web profile of TCK and amongst integration test group.

This is a draft ATM because the related CDI PR isn't merged yet and because it hasn't been tested with any impl so far.

@manovotn
Copy link
Contributor Author

manovotn commented Nov 28, 2023

Moved from draft to ready for review as the proposal was approved and merged.
I'll take a look into Weld impl and work on supporting this sometimes this week.

@Ladicek
Copy link
Contributor

Ladicek commented Nov 28, 2023

Looks good on the first sight. I'll check with ArC (it should already work there) and report back.

@manovotn manovotn force-pushed the issue498 branch 2 times, most recently from a643b16 to a6bc2ba Compare November 28, 2023 15:16
@Ladicek
Copy link
Contributor

Ladicek commented Nov 28, 2023

ArC seems to pass these tests out of the box, which is good :-)

@Ladicek Ladicek added this to the CDI 4.1 milestone Dec 1, 2023
@Ladicek Ladicek merged commit 16b7faa into jakartaee:master Dec 1, 2023
4 checks passed
@manovotn manovotn deleted the issue498 branch December 1, 2023 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TCK coverage for @Priority on producers
2 participants