Skip to content

Conversation

@edewit
Copy link
Contributor

@edewit edewit commented Aug 21, 2024

Signed-off-by: Erik Jan de Wit [email protected]

@edewit edewit requested review from a team as code owners August 21, 2024 14:28
@edewit edewit self-assigned this Aug 21, 2024
@edewit edewit marked this pull request as draft August 21, 2024 14:29
pedroigor
pedroigor previously approved these changes Aug 22, 2024
Signed-off-by: Erik Jan de Wit <[email protected]>
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.organization.authentication.OrganizationBruteForceTest#testRaceAttackPermanentLockout

Keycloak CI - Base IT (3)

java.lang.AssertionError: Invalid count should be less than or equal 2 but was: 3
	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.assertTrue(Assert.java:42)
	at org.keycloak.testsuite.forms.BruteForceTest.raceAttack(BruteForceTest.java:820)
	at org.keycloak.testsuite.forms.BruteForceTest.testRaceAttackPermanentLockout(BruteForceTest.java:790)
...

Report flaky test


import java.util.Set;

public class OrganizationRepresentation {
Copy link
Contributor

Choose a reason for hiding this comment

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

We already have a version of OrganizationRepresentation.java in ../idm directory. It would be cleaner to synthesize the two using some form of polymorphism like using a base class and/or interfaces.

I see that ClientRepresentation.java has the same issue. So I'm fine if we want to refactor both in a later PR.

@pedroigor pedroigor merged commit 776a491 into keycloak:main Aug 22, 2024
@edewit edewit deleted the issue-31301 branch August 27, 2024 06:34
edewit added a commit to edewit/keycloak that referenced this pull request Aug 30, 2024
* added organizations table to account

Signed-off-by: Erik Jan de Wit <[email protected]>
Signed-off-by: Pedro Igor <[email protected]>
Co-authored-by: Pedro Igor <[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