-
Notifications
You must be signed in to change notification settings - Fork 7.9k
refactor AuroraDB tests and add migration-tests to CI job #31396
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
refactor AuroraDB tests and add migration-tests to CI job #31396
Conversation
5b41dd0 to
c4c425b
Compare
91db916 to
348bbf7
Compare
348bbf7 to
2a0c2b8
Compare
bba7d4b to
4f30c9f
Compare
ryanemerson
left a comment
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.
The changes are looking good to me, just a couple of minor comments about code cleanup.
7487fcd to
a227c50
Compare
|
@ryanemerson the code should be ready for review again, however, I will update this comment to include a successful run against my fork. Thanks for your patience in reviewing this. |
32a4cc1 to
2f043c4
Compare
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.
Unreported flaky test detected, please review
Unreported flaky test detectedIf the flaky tests below are affected by the changes, please review and update the changes accordingly. Otherwise, a maintainer should report the flaky tests prior to merging the PR. org.keycloak.testsuite.model.session.UserSessionProviderOfflineModelTest#testExpiredKeycloak CI - Store Model Tests org.keycloak.testsuite.model.session.SessionTimeoutsTest#testOnlineUserClientMaxLifespanSmallerThanSessionKeycloak CI - Store Model Tests |
2a87bcc to
4495258
Compare
|
@ryanemerson https://github.com/kami619/keycloak/actions/runs/10013614481/job/27681805510 For some reason, if I split the handling of aws.pem file across steps, it fails with the below exception. https://github.com/kami619/keycloak/actions/runs/10013614481/job/27681805510 And it doesn't happen when I changed it back to handling aws.pem within the same step, am I missing something here ? |
940b9f2 to
d3681a9
Compare
|
Moving to draft as this is still in progress |
e160149 to
ee074ff
Compare
ee074ff to
acb5e70
Compare
|
https://github.com/kami619/keycloak/actions/runs/10065470972/job/27824659034 @mhajas and @ryanemerson I think this should be in a good state to review now. |
acb5e70 to
bdd863b
Compare
ryanemerson
left a comment
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 for persevering @kami619
There's one minor comment, but consider it optional.
21cb179 to
c6ebbbb
Compare
Signed-off-by: Kamesh Akella <[email protected]>
c6ebbbb to
707b418
Compare
mhajas
left a comment
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.
Thank you @kami619! LGTM
Fixes keycloak#31024 Signed-off-by: Kamesh Akella <[email protected]>
Fixes #31024
Background:
Earlier this year, from this change, we added a new matrix option to run the
store-integration-tests. And now as per #31024 we need to run tests against the AuroraDB again. Given this and from the discussions with @ryanemerson and @mhajas we understood, it would be best to refactor thestore-integration-testsand create a new job for the tests to be run against AuroraDB, which would allow us to optimize around the cost and code.This PR refactors the Keycloak CI workflow for the bits associated with the AuroraDB database. We are adding a new job named
auroradb-integration-teststo thejobs.Test run on my fork: https://github.com/kami619/keycloak/actions/runs/9979098679/job/27577694974
Note: When there is a change to
store-integration-testsormigration-tests, we would need to update theauroradb-integration-testsjob as well.