From 1dbd99e1f12aaf9a68fe5523dac8b29d095c42f5 Mon Sep 17 00:00:00 2001 From: ikethecoder Date: Tue, 26 Nov 2024 19:59:28 -0800 Subject: [PATCH] fix cypress --- docker-compose.yml | 2 +- e2e/entrypoint.sh | 2 +- local/keycloak/nginx-lb.conf | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index dda36a995..53fa7380b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -21,7 +21,7 @@ services: command: [ 'start', '--optimized', - # '--cache=ispn', + #'--cache=ispn', '--hostname', 'http://keycloak.localtest.me:9081/auth', '--db-url', diff --git a/e2e/entrypoint.sh b/e2e/entrypoint.sh index fec3725b3..e7446e482 100755 --- a/e2e/entrypoint.sh +++ b/e2e/entrypoint.sh @@ -3,7 +3,7 @@ cd /tmp while true; do - keycloakstatus=$(curl -o /dev/null -Isw '%{http_code}\n' http://keycloak.localtest.me:9081/auth/realms/master) + keycloakstatus=$(curl -o /dev/null -sw '%{http_code}\n' http://keycloak.localtest.me:9081/auth/realms/master) echo "$keycloakstatus" if [[ "$keycloakstatus" == "200" ]]; then echo "Keycloak is up" diff --git a/local/keycloak/nginx-lb.conf b/local/keycloak/nginx-lb.conf index 3854f5db7..e959154fe 100644 --- a/local/keycloak/nginx-lb.conf +++ b/local/keycloak/nginx-lb.conf @@ -1,6 +1,6 @@ upstream backend { server api-services-portal-keycloak-nodes-1:9081; - # server api-services-portal-keycloak-nodes-2:9081; + # server api-services-portal-keycloak-nodes-2:9081; } server {