From 79ded1495c45e3bad72da5c162040d5e614fb816 Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Fri, 21 Jun 2024 13:59:40 -0400 Subject: [PATCH] Add env_var params Signed-off-by: Peter Zhu --- integtest.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integtest.sh b/integtest.sh index 1f5ad059f..094e339bc 100755 --- a/integtest.sh +++ b/integtest.sh @@ -139,11 +139,11 @@ fi if [ "$SECURITY_ENABLED" = "true" ] then - cmd="yarn cypress:run --env SECURITY_ENABLED=true,openSearchUrl=https://localhost:9200,AGGREGATION_VIEW=true,WAIT_FOR_LOADER_BUFFER_MS=3000,$ENV_VAR --browser \"$BROWSER_PATH\" --spec \"$TEST_FILES\"" + cmd="yarn cypress:run --env SECURITY_ENABLED=true,openSearchUrl=https://localhost:9200,AGGREGATION_VIEW=true,WAIT_FOR_LOADER_BUFFER_MS=3000$ENV_VAR --browser \"$BROWSER_PATH\" --spec \"$TEST_FILES\"" echo "run security enabled tests: $cmd" eval $cmd else - cmd="$ENV_VAR yarn cypress:run --env SECURITY_ENABLED=false,$ENV_VAR --browser \"$BROWSER_PATH\" --spec \"$TEST_FILES\"" + cmd="$ENV_VAR yarn cypress:run --env SECURITY_ENABLED=false$ENV_VAR --browser \"$BROWSER_PATH\" --spec \"$TEST_FILES\"" echo "run security disabled tests: $cmd" eval $cmd fi