From a1c49554f803d9bfbbd3a735359125d884c89b54 Mon Sep 17 00:00:00 2001 From: Julien ADAMEK Date: Thu, 27 Oct 2022 15:16:08 +0200 Subject: [PATCH] Add --ipc=host on the Cypress docker cmd line (#473) * https://github.com/cypress-io/cypress/issues/350 * Also move the script to the right folder --- tests/Makefile | 2 +- {scripts => tests/scripts}/start_cypress_tests.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) rename {scripts => tests/scripts}/start_cypress_tests.sh (90%) diff --git a/tests/Makefile b/tests/Makefile index edbae924b..b1d9f83d9 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -64,4 +64,4 @@ e2e-bootstrap-node: deps e2e-upgrade-node: deps ginkgo --label-filter upgrade -r -v ./e2e start-cypress-tests: - @./scripts/start_cypress_tests.sh + @./tests/scripts/start_cypress_tests.sh diff --git a/scripts/start_cypress_tests.sh b/tests/scripts/start_cypress_tests.sh similarity index 90% rename from scripts/start_cypress_tests.sh rename to tests/scripts/start_cypress_tests.sh index d66213b05..d495978fa 100755 --- a/scripts/start_cypress_tests.sh +++ b/tests/scripts/start_cypress_tests.sh @@ -12,5 +12,6 @@ docker run -v $PWD:/e2e -w /e2e \ -e RANCHER_URL=$RANCHER_URL \ -e K8S_VERSION_TO_PROVISION=$K8S_VERSION_TO_PROVISION \ --add-host host.docker.internal:host-gateway \ + --ipc=host \ $CYPRESS_DOCKER \ -s /e2e/$SPEC