From a3c175a21e2e5c36466cb1667c0199e9280ccbd8 Mon Sep 17 00:00:00 2001 From: Martin Bartos RH Date: Tue, 5 Mar 2019 14:47:38 +0100 Subject: [PATCH] KEYCLOAK-9348 UserStorageConsentTest fails with some databases --- .../keycloak/testsuite/federation/storage/UserStorageTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/federation/storage/UserStorageTest.java b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/federation/storage/UserStorageTest.java index 25a3eb52d3..e30c1adeab 100644 --- a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/federation/storage/UserStorageTest.java +++ b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/federation/storage/UserStorageTest.java @@ -752,6 +752,8 @@ public class UserStorageTest extends AbstractAuthTest { Assert.assertEquals(1, UserMapStorage.allocations.get()); Assert.assertEquals(0, UserMapStorage.closings.get()); + + session.users().removeUser(realm,session.users().getUserByUsername("memuser",realm)); }); testingClient.server().run(session -> {