Skip to content

Commit 15acebf

Browse files
waiting until the keycloak instance is going to start and ready to be available.
Signed-off-by: lrangine <19699092+lokeshrangineni@users.noreply.github.com> Signed-off-by: lrangine <19699092+lokeshrangineni@users.noreply.github.com>
1 parent f1d6021 commit 15acebf

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

sdk/python/tests/integration/conftest.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,10 @@ def start_keycloak_server():
3333
random_sleep_time = random.uniform(0, 2)
3434
time.sleep(random_sleep_time)
3535
if shared_state.get("keycloak_starting", True):
36-
logger.info("Keycloak server is still starting. waiting for it to start...")
37-
time.sleep(1)
36+
logger.info(
37+
"Keycloak server is still starting. waiting for it to start..."
38+
)
39+
time.sleep(retry_interval)
3840
continue
3941

4042
if shared_state.get("keycloak_started", False):

0 commit comments

Comments
 (0)