Skip to content

fix: removing KeycloakApplication usage of keycloak-add-user.json#39460

Merged
vmuzikar merged 2 commits intokeycloak:mainfrom
shawkins:iss39428
May 8, 2025
Merged

fix: removing KeycloakApplication usage of keycloak-add-user.json#39460
vmuzikar merged 2 commits intokeycloak:mainfrom
shawkins:iss39428

Conversation

@shawkins
Copy link
Copy Markdown
Contributor

@shawkins shawkins commented May 5, 2025

closes:#39428

Copy link
Copy Markdown
Contributor

@vmuzikar vmuzikar left a comment

Choose a reason for hiding this comment

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

Should we also get rid of the keycloak-add-user.json file in the testsuite? And mentions of it in POMs?

@shawkins
Copy link
Copy Markdown
Contributor Author

shawkins commented May 6, 2025

Should we also get rid of the keycloak-add-user.json file in the testsuite? And mentions of it in POMs?

My understanding was that it was still being picked up for migration testing. I can certianly add a commit with it removed, just to double check.

@vmuzikar
Copy link
Copy Markdown
Contributor

vmuzikar commented May 6, 2025

@shawkins It might be worth it, yes.

@shawkins
Copy link
Copy Markdown
Contributor Author

shawkins commented May 6, 2025

@shawkins It might be worth it, yes.

I'm surprised, it seemed to work.

Copy link
Copy Markdown

@keycloak-github-bot keycloak-github-bot Bot left a 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

@keycloak-github-bot
Copy link
Copy Markdown

Unreported flaky test detected

If 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.adapter.servlet.SAMLServletAdapterTest#multiTenant2SamlTest

Keycloak CI - Base IT

org.awaitility.core.ConditionTimeoutException: Assertion condition defined as a Lambda expression in org.keycloak.testsuite.util.URLAssert URL expected to begin with: https://localhost:8543/auth/realms/tenant2/login-action ; actual URL: https://localhost:8643/multi-tenant-saml/?realm=tenant2 within 10 seconds.
	at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
	at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:119)
	at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:31)
	at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:1006)
...

Report flaky test

Copy link
Copy Markdown
Contributor

@mabartos mabartos left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown

@keycloak-github-bot keycloak-github-bot Bot left a 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

@keycloak-github-bot
Copy link
Copy Markdown

Unreported flaky test detected

If 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.adapter.servlet.SAMLServletAdapterTest#multiTenant2SamlTest

Keycloak CI - Base IT

org.awaitility.core.ConditionTimeoutException: Assertion condition defined as a Lambda expression in org.keycloak.testsuite.util.URLAssert URL expected to begin with: https://localhost:8543/auth/realms/tenant2/login-action ; actual URL: https://localhost:8643/multi-tenant-saml/?realm=tenant2 within 10 seconds.
	at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
	at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:119)
	at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:31)
	at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:1006)
...

Report flaky test

Copy link
Copy Markdown
Contributor

@vmuzikar vmuzikar left a comment

Choose a reason for hiding this comment

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

@shawkins Thanks, LGTM.

@vmuzikar vmuzikar enabled auto-merge (squash) May 7, 2025 15:18
Copy link
Copy Markdown

@keycloak-github-bot keycloak-github-bot Bot left a 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

@keycloak-github-bot
Copy link
Copy Markdown

Unreported flaky test detected

If 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.adapter.servlet.SAMLServletAdapterTest#multiTenant2SamlTest

Keycloak CI - Base IT

org.awaitility.core.ConditionTimeoutException: Assertion condition defined as a Lambda expression in org.keycloak.testsuite.util.URLAssert URL expected to begin with: https://localhost:8543/auth/realms/tenant2/login-action ; actual URL: https://localhost:8643/multi-tenant-saml/?realm=tenant2 within 10 seconds.
	at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
	at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:119)
	at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:31)
	at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:1006)
...

Report flaky test

@vmuzikar vmuzikar merged commit f40cb88 into keycloak:main May 8, 2025
80 checks passed
Copy link
Copy Markdown

@keycloak-github-bot keycloak-github-bot Bot left a 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

@keycloak-github-bot
Copy link
Copy Markdown

Unreported flaky test detected

If 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.cluster.SessionFailoverClusterTest#sessionFailover

Keycloak CI - Clustering IT

java.lang.RuntimeException: java.lang.IllegalStateException: Keycloak unexpectedly died :(
	at org.keycloak.testsuite.arquillian.containers.KeycloakQuarkusServerDeployableContainer.start(KeycloakQuarkusServerDeployableContainer.java:71)
	at org.jboss.arquillian.container.impl.ContainerImpl.start(ContainerImpl.java:185)
	at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController$8.perform(ContainerLifecycleController.java:137)
	at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController$8.perform(ContainerLifecycleController.java:133)
...

Report flaky test

robson90 pushed a commit to robson90/keycloak that referenced this pull request Jul 9, 2025
…ycloak#39460)

* fix: removing KeycloakApplication usage of keycloak-add-user.json

closes:keycloak#39428

Signed-off-by: Steve Hawkins <[email protected]>

* Removing the test keycloak-add-user.json

Signed-off-by: Steve Hawkins <[email protected]>

---------

Signed-off-by: Steve Hawkins <[email protected]>
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.

3 participants