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

Improve tests to ensure managed users disabled upon disabling the org… #29370

Merged
merged 1 commit into from May 7, 2024

Conversation

sguilhen
Copy link
Contributor

@sguilhen sguilhen commented May 7, 2024

… can't be updated

Closes #28891

… can't be updated

Closes keycloak#28891

Signed-off-by: Stefan Guilhen <sguilhen@redhat.com>
Copy link

@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

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.forms.LoginTotpTest#loginWithTotpInvalidPassword

Keycloak CI - Forms IT (chrome)

java.lang.IllegalStateException: Could not start mail server smtp:localhost:3025, try to set server startup timeout > 2000 via ServerSetup.setServerStartupTimeout(timeoutInMs) or -Dgreenmail.startup.timeout
	at com.icegreen.greenmail.util.GreenMail.start(GreenMail.java:118)
	at org.keycloak.testsuite.util.GreenMailRule.before(GreenMailRule.java:54)
	at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:50)
	at org.jboss.arquillian.junit.Arquillian$7$1.invoke(Arquillian.java:273)
...

Report flaky test

org.keycloak.testsuite.forms.LoginTotpTest#loginWithTotpRefreshTotpPage

Keycloak CI - Forms IT (chrome)

java.lang.IllegalStateException: Could not start mail server smtp:localhost:3025, try to set server startup timeout > 2000 via ServerSetup.setServerStartupTimeout(timeoutInMs) or -Dgreenmail.startup.timeout
	at com.icegreen.greenmail.util.GreenMail.start(GreenMail.java:118)
	at org.keycloak.testsuite.util.GreenMailRule.before(GreenMailRule.java:54)
	at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:50)
	at org.jboss.arquillian.junit.Arquillian$7$1.invoke(Arquillian.java:273)
...

Report flaky test

org.keycloak.testsuite.forms.LoginTotpTest#loginWithTotpSuccess

Keycloak CI - Forms IT (chrome)

java.lang.IllegalStateException: Could not start mail server smtp:localhost:3025, try to set server startup timeout > 2000 via ServerSetup.setServerStartupTimeout(timeoutInMs) or -Dgreenmail.startup.timeout
	at com.icegreen.greenmail.util.GreenMail.start(GreenMail.java:118)
	at org.keycloak.testsuite.util.GreenMailRule.before(GreenMailRule.java:54)
	at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:50)
	at org.jboss.arquillian.junit.Arquillian$7$1.invoke(Arquillian.java:273)
...

Report flaky test

org.keycloak.testsuite.forms.LoginTotpTest#loginWithTotp_getToken_checkCompatibilityCLI

Keycloak CI - Forms IT (chrome)

java.lang.IllegalStateException: Could not start mail server smtp:localhost:3025, try to set server startup timeout > 2000 via ServerSetup.setServerStartupTimeout(timeoutInMs) or -Dgreenmail.startup.timeout
	at com.icegreen.greenmail.util.GreenMail.start(GreenMail.java:118)
	at org.keycloak.testsuite.util.GreenMailRule.before(GreenMailRule.java:54)
	at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:50)
	at org.jboss.arquillian.junit.Arquillian$7$1.invoke(Arquillian.java:273)
...

Report flaky test

org.keycloak.testsuite.forms.LoginTotpTest#loginWithTotpFailure

Keycloak CI - Forms IT (chrome)

java.lang.IllegalStateException: Could not start mail server smtp:localhost:3025, try to set server startup timeout > 2000 via ServerSetup.setServerStartupTimeout(timeoutInMs) or -Dgreenmail.startup.timeout
	at com.icegreen.greenmail.util.GreenMail.start(GreenMail.java:118)
	at org.keycloak.testsuite.util.GreenMailRule.before(GreenMailRule.java:54)
	at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:50)
	at org.jboss.arquillian.junit.Arquillian$7$1.invoke(Arquillian.java:273)
...

Report flaky test

org.keycloak.testsuite.forms.LoginTotpTest#loginWithTotp_testAttemptedUsernameAndResetLogin

Keycloak CI - Forms IT (chrome)

java.lang.IllegalStateException: Could not start mail server smtp:localhost:3025, try to set server startup timeout > 2000 via ServerSetup.setServerStartupTimeout(timeoutInMs) or -Dgreenmail.startup.timeout
	at com.icegreen.greenmail.util.GreenMail.start(GreenMail.java:118)
	at org.keycloak.testsuite.util.GreenMailRule.before(GreenMailRule.java:54)
	at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:50)
	at org.jboss.arquillian.junit.Arquillian$7$1.invoke(Arquillian.java:273)
...

Report flaky test

org.keycloak.testsuite.forms.LoginTotpTest#loginWithMissingTotp

Keycloak CI - Forms IT (chrome)

java.lang.IllegalStateException: Could not start mail server smtp:localhost:3025, try to set server startup timeout > 2000 via ServerSetup.setServerStartupTimeout(timeoutInMs) or -Dgreenmail.startup.timeout
	at com.icegreen.greenmail.util.GreenMail.start(GreenMail.java:118)
	at org.keycloak.testsuite.util.GreenMailRule.before(GreenMailRule.java:54)
	at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:50)
	at org.jboss.arquillian.junit.Arquillian$7$1.invoke(Arquillian.java:273)
...

Report flaky test

org.keycloak.testsuite.forms.LoginTotpTest#testBase32EncodedSecret

Keycloak CI - Forms IT (chrome)

java.lang.IllegalStateException: Could not start mail server smtp:localhost:3025, try to set server startup timeout > 2000 via ServerSetup.setServerStartupTimeout(timeoutInMs) or -Dgreenmail.startup.timeout
	at com.icegreen.greenmail.util.GreenMail.start(GreenMail.java:118)
	at org.keycloak.testsuite.util.GreenMailRule.before(GreenMailRule.java:54)
	at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:50)
	at org.jboss.arquillian.junit.Arquillian$7$1.invoke(Arquillian.java:273)
...

Report flaky test

@sguilhen sguilhen deleted the improve-disabled-org-test branch May 14, 2024 15:40
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.

Add a enabled field to an organization
2 participants