e2e: add -is-openshift option to disable certain checks

On OpenShift it is not possible for the Rook toolbox to get the metrics
from Kubelet (without additional configuration). By passing
-is-openshift, the metrics are not checked, and the e2e suite does not
fail on that particular piece.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos
2022-04-07 17:42:48 +02:00
committed by mergify[bot]
parent 92866f46fd
commit 5bc8584b02
3 changed files with 4 additions and 1 deletions

View File

@ -102,6 +102,7 @@ are available while running tests:
| timeout | Panic test binary after duration d (default 0, timeout disabled) |
| v | Verbose: print additional output |
| filesystem | Name of the CephFS filesystem (default: "myfs") |
| is-openshift | Run in OpenShift compatibility mode, skips certain new feature tests |
## E2E for snapshot