Skip to content

Commit

Permalink
test: update e2e CLI 4
Browse files Browse the repository at this point in the history
Signed-off-by: Juncheng Zhu <[email protected]>
  • Loading branch information
junczhu committed Dec 12, 2024
1 parent 3f3e700 commit 5489ca2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand Down
3 changes: 2 additions & 1 deletion test/bats/helpers.bash
Original file line number Diff line number Diff line change
Expand Up @@ -113,5 +113,6 @@ wait_for_process() {
}

run_crl_server() {
python3 ./scripts/crl_server.py
python3 ./scripts/crl_server.py &
echo "CRL server started"
}

0 comments on commit 5489ca2

Please sign in to comment.