Skip to content

Commit e642717

Browse files
nb-99chrisingenhaag
authored andcommitted
chore: increase timeout while waiting for keycloak
1 parent 6920523 commit e642717

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/_env.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ wait_for_kong() {
3232
# wait for Keycloak to be ready or timeout
3333
wait_for_keycloak() {
3434
echo "Waiting for Keycloak to be ready..."
35-
for i in $(seq 1 30); do
35+
for i in $(seq 1 45); do
3636
if test $(curl -s -o /dev/null -w '%{http_code}' $KC_URL/auth/realms/master/.well-known/openid-configuration) -eq 200; then
3737
echo "Keycloak endpoint is ready!"
3838
return 0
3939
fi
4040
sleep 1
4141
done
42-
echo "Keycloak is not ready after 30 seconds, exiting..."
42+
echo "Keycloak is not ready after 45 seconds, exiting..."
4343
exit 1
4444
}
4545

0 commit comments

Comments
 (0)