Description of Problem:
Should skip e2e test cases as early as possible
Version-Release number of selected component (if applicable):
Steps to Reproduce:
When running e2e test on aws cluster, we can find some skip msg like:
[piqin@preserve-storage-server1 ~]$ cat azure.result|grep "skip \["|grep " Driver azure-disk"
skip [k8s.io/kubernetes.0/test/e2e/storage/testsuites/base.go:162]: Driver azure-disk doesn't support snapshot type DynamicSnapshot -- skipping
skip [k8s.io/kubernetes.0/test/e2e/storage/testsuites/base.go:185]: Driver azure-disk doesn't support ntfs -- skipping
Should skip these test earlier and report the skip msg like:
skip [k8s.io/kubernetes.0/test/e2e/storage/drivers/in_tree.go:1543]: Only supported for providers [azure] (not aws)
Created a PR: https://github.com/kubernetes/kubernetes/pull/96144
It was merged during openshift/origin rebase to 1.20: https://github.com/openshift/origin/pull/25764
Verified with: 4.7.0-0.nightly-2021-01-10-070949
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.