1
0
mirror of https://github.com/coreos/prometheus-operator.git synced 2026-02-05 06:45:27 +01:00

Docs: update TESTING.md (#6487)

TESTING.md now includes the command to make and load images before running e2e tests.
New users were having trouble running tests without this.
This commit is contained in:
M Viswanath Sai
2024-04-09 18:12:45 +05:30
committed by GitHub
parent e3f9f9269b
commit 7b558caa0f

View File

@@ -66,7 +66,15 @@ For manual testing, you can use the utility script [scripts/run-external.sh](scr
./scripts/run-external.sh -c
```
For automated end-to-end tests, we have the command:
Before running automated end-to-end tests, you need run the following command to make images and load it in your local cluster (for KinD cluster):
```
make image
for n in "prometheus-operator" "prometheus-config-reloader" "admission-webhook"; do kind load docker-image "quay.io/prometheus-operator/$n:$(git rev-parse --short HEAD)"; done;
```
Then to run the automated end-to-end tests, run the following command:
```
make test-e2e