Skip to content

Flaky test: org.keycloak.testsuite.model.user.UserModelTest#testAddRemoveUsersInTheSameGroupConcurrent #30264

@keycloak-github-bot

Description

@keycloak-github-bot

org.keycloak.testsuite.model.user.UserModelTest#testAddRemoveUsersInTheSameGroupConcurrent

Keycloak CI - Store Model Tests

java.util.ConcurrentModificationException: java.util.ConcurrentModificationException
	at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486)
	at java.base/java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:540)
...
org.hibernate.exception.ConstraintViolationException: 
JDBC exception executing SQL [delete from USER_ENTITY where REALM_ID=?] [Referential integrity constraint violation: "FK_C4FQV34P1MBYLLOXANG7B1Q3L: PUBLIC.USER_ROLE_MAPPING FOREIGN KEY(USER_ID) REFERENCES PUBLIC.USER_ENTITY(ID) ('9b3c9549-a56b-44fb-9e4e-3412433d1496')"; SQL statement:
delete from USER_ENTITY where REALM_ID=? [23503-224]] [n/a]
	at org.hibernate.exception.internal.SQLExceptionTypeDelegate.convert(SQLExceptionTypeDelegate.java:62)
	at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:58)
...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions