-
Notifications
You must be signed in to change notification settings - Fork 43
Add test coverage for QUARKUS-5858 #2480
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
Conversation
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.
Well done.
private static final String CLIENT_ID = "test-application-client"; | ||
private static final String CLIENT_SECRET = "test-application-client-secret"; | ||
|
||
@KeycloakContainer(command = { "start-dev", "--import-realm", |
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.
In OpenShift, we need to use image = "${rhbk.image}"
because IBM Z/PE fail with upstream image (architecture not supported). We could also disable it for them, but seems unnecesary.
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.
I've added this for OCP tests
Let's also make sure that GH CI and OCP are passing (because failures are due to the added test here), but test code lgtm. |
Test failures are caused by quarkusio/quarkus#48085. Which is already fixed upstream - quarkusio/quarkus#48091 We will probably need to wait for next Quarkus 999-snapshot to have the fix available. |
We implemented remote trigger in TS PR using GH PR commetns, just write "hey @rsvoboda , please trigger https://github.com/quarkusio/quarkus/actions/workflows/deploy-snapshots.yml" and we will be able to rerun this PR CI later today. |
I found another issue quarkusio/quarkus#48110 when dealing with original issue fix. I'm not sure how this one is going to be resolved, possibly it will require some code changes in this PR. I'm changing this to draft before the issue gets resolved. |
just note - both of these issues will be a problem for 3.20.1 backport, they will probably have to be documented as known issues and test methods enabled (or the ticket fix version needs to be adjusted to 3.20.NEXT). |
I've made the changes for last issue and some requested. Should be ready for review now. |
run tests |
That's weird. There are still test failures. Caused by the problem that was fixed in quarkusio/quarkus#48091. That PR was merged several days ago, but fix is still not in current 999-SNAPSHOT. |
I know how to fix it, it's in our CI, looking right now. |
run tests |
1 similar comment
run tests |
Tests still fails on OCP as fix is not propagated there. Do you known any other "magic trick" why this is happening @michalvavrik ? |
I do, I didn't get to it yesterday. Can you just replace |
should be fixed now |
run tests |
1 similar comment
run tests |
Unfortunately didn't help :-( |
I think there is some caching in place, let me check. |
run tests |
CI green, merging |
Summary
Implement tests based on quarkus-qe/quarkus-test-plans#232.
Please select the relevant options.
run tests
phrase in comment)run arm tests
phrase in comment)Checklist: