8000 fix: simplifying quarkus integration test annotations by shawkins · Pull Request #48977 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content

fix: simplifying quarkus integration test annotations - #48977

Merged
shawkins merged 3 commits into
keycloak:mainfrom
shawkins:test-annotations
May 20, 2026
Merged

shawkins merged 3 commits into
keycloak:mainfrom
shawkins:test-annotations

Conversation

@shawkins
@shawkins shawkins commented May 13, 2026 •
Copy link
Copy Markdown
Contributor

Removed the Storage annotation, and tried to aggregate all the places that are controlling the server lifecycle.

It would take more work, but we could even consider just having the DistributionTest annotation and allowing it to be specified at a method level, and do away with the specialized annotations.

closes: #48796

@shawkins
shawkins requested a review from a team as a code owner May 14, 2026 19:38
@shawkins
shawkins requested a review from Pepo48 May 14, 2026 19:39
@shawkins
shawkins force-pushed the test-annotations branch 2 times, most recently from 3a67d8a to 250a798 Compare May 14, 2026 20:37
@michalvavrik michalvavrik left a comment
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@shawkins
shawkins force-pushed the 8000 test-annotations branch from 250a798 to 4e5ff06 Compare May 14, 2026 22:04
Pepo48
Pepo48 previously approved these changes May 15, 2026
shawkins added 2 commits May 16, 2026 13:23
closes: keycloak#48796

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
Signed-off-by: Steve Hawkins <shawkins@redhat.com>
@shawkins
shawkins force-pushed the test-annotations branch from a0dd7c4 to 680f19a Compare May 19, 2026 19:04
KeycloakRunner replaces KeycloakDistributionDecorator

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
@shawkins
shawkins force-pushed the test-annotations branch from 680f19a to 7aed6ff Compare May 19, 2026 21:08
@shawkins
shawkins requested a review from vmuzikar May 19, 2026 21:50
@vmuzikar vmuzikar left a comment
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shawkins Thank you for the changes. This is a nice improvement.

Comment on lines +63 to +64
delegate.setEnvVar("KC_DEBUG", "true");
delegate.setEnvVar("KC_DEBUG_SUSPEND", "y");
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a nitpick. Seems we have setEnvVar in KeycloakRunner. Why not to use that instead of calling the delegate directly?

Approving regardless.

@shawkins
shawkins merged commit 03624df into keycloak:main May 20, 2026
90 checks passed
@stianst stianst mentioned this pull request Jun 1, 2026
sashyo pushed a commit to tide-foundation/keycloak-IGA that referenced this pull request Jul 20, 2026
* fix: simplifying quarkus integration test annotations

closes: keycloak#48796

Signed-off-by: Steve Hawkins <shawkins@redhat.com>

* refining quarkus integration tests to use KeycloakDistributionDecorator

Signed-off-by: Steve Hawkins <shawkins@redhat.com>

* implementing review feedback.

KeycloakRunner replaces KeycloakDistributionDecorator

Signed-off-by: Steve Hawkins <shawkins@redhat.com>

---------

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Review or remove the quarkus test Storage annotation

4 participants

0