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

Make sure TCKs are CDI-version agnostic #666

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

manovotn
Copy link

Fixes #665

These were the tests that started failing for me once I tried with CDI 4 (or rather the beans used in them). The rest works just fine as-is, so I didn't touch it.

To reiterate myself - this doesn't change the TCK behavior in any way. It simply makes it CDI-version agnostic so that the TCK works with CDI 3 and CDI 4 implementations. It will ease transition for any early adopters and will eliminate future fraction when actual migration to EE 10 happens. See linked issue for more information.

This change was tested with SR impl customized to run the TCKs on Weld 5 container and the tests passed.

Note that I looked into tck/api and tck/rest and tested those. The tck/optional I only scanned but didn't manage to test but there is basically two tests and all the beans are annotated so that should work just fine gong forward.

@eclipse-microprofile-bot
Copy link
Contributor

Can one of the admins verify this patch?

@manovotn
Copy link
Author

Is there no CI on this repo?
Probably wouldn't hurt to add a simple one like MP reactive messaging has - https://github.com/eclipse/microprofile-reactive-messaging/blob/master/.github/workflows/build.yml

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.

Make the TCK tests CDI 4 compatible
2 participants