Instead of the test blocking for an unknown reason, specify a timeout

Closes #29528

Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
This commit is contained in:
Alexander Schwartz 2024-05-28 15:35:35 +02:00 committed by Alexander Schwartz
parent 2f0576233b
commit 46f0da43da

View file

@ -375,12 +375,12 @@ public class SessionTimeoutsTest extends KeycloakModelTest {
testUserClientMaxLifespanSmallerThanSession(false, true);
}
@Test
@Test(timeout = 10 * 1000)
public void testOnlineUserClientIdleTimeoutSmallerThanSessionNoRefresh() {
testUserClientIdleTimeoutSmallerThanSession(0, false, false);
}
@Test
@Test(timeout = 10 * 1000)
public void testOnlineUserClientIdleTimeoutSmallerThanSessionOneRefresh() {
testUserClientIdleTimeoutSmallerThanSession(1, false, false);
}