From 5489ca229c2ba1e3ba6a263ee6258656f9e19a2e Mon Sep 17 00:00:00 2001 From: Juncheng Zhu Date: Thu, 12 Dec 2024 07:40:56 +0000 Subject: [PATCH] test: update e2e CLI 4 Signed-off-by: Juncheng Zhu --- Makefile | 2 +- test/bats/helpers.bash | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6d0d4c05d..bd09b2f42 100644 --- a/Makefile +++ b/Makefile @@ -155,7 +155,7 @@ delete-gatekeeper: helm delete gatekeeper --namespace ${GATEKEEPER_NAMESPACE} .PHONY: test-e2e -test-e2e: generate-rotation-certs e2e-notation-crl-setup +test-e2e: generate-rotation-certs timeout 20m bats -t ${BATS_BASE_TESTS_FILE} EXPIRING_CERT_DIR=.staging/rotation/expiring-certs CERT_DIR=.staging/rotation GATEKEEPER_VERSION=${GATEKEEPER_VERSION} bats -t ${BATS_PLUGIN_TESTS_FILE} diff --git a/test/bats/helpers.bash b/test/bats/helpers.bash index 2b18e2aaa..1c6a22db1 100644 --- a/test/bats/helpers.bash +++ b/test/bats/helpers.bash @@ -113,5 +113,6 @@ wait_for_process() { } run_crl_server() { - python3 ./scripts/crl_server.py + python3 ./scripts/crl_server.py & + echo "CRL server started" } \ No newline at end of file