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:
10
TESTING.md
10
TESTING.md
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user