From eaade6f18fd60cd55e2b6d2fecea37c581c8cb88 Mon Sep 17 00:00:00 2001 From: nuwang <2070605+nuwang@users.noreply.github.com> Date: Sun, 5 Nov 2023 16:51:02 +0530 Subject: [PATCH] Enclose docker volume path in quotes --- test/integration/oidc/test_auth_oidc.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/integration/oidc/test_auth_oidc.py b/test/integration/oidc/test_auth_oidc.py index 6f29e36bb0a8..92b331b762ef 100644 --- a/test/integration/oidc/test_auth_oidc.py +++ b/test/integration/oidc/test_auth_oidc.py @@ -55,8 +55,6 @@ def start_keycloak_docker(container_name, port=8443, image="keycloak/keycloak:22 START_SLURM_DOCKER = [ "docker", "run", - "-h", - "localhost", "-p", f"{port}:8443", "-d", @@ -64,7 +62,7 @@ def start_keycloak_docker(container_name, port=8443, image="keycloak/keycloak:22 container_name, "--rm", "-v", - f"{keycloak_realm_data}:/opt/keycloak/data/import", + f"'{keycloak_realm_data}':/opt/keycloak/data/import", "-e", f"KEYCLOAK_ADMIN={KEYCLOAK_ADMIN_USERNAME}", "-e",