velero icon indicating copy to clipboard operation
velero copied to clipboard

Use labels instead of text message to filter test cases

Open blackpiglet opened this issue 7 months ago • 0 comments

Describe the problem/challenge you have

var _ = Describe("[APIGroup][APIVersion][SKIP_KIND] Velero tests with various CRD API group versions", APIGropuVersionsTest)
var _ = Describe("[APIGroup][APIExtensions][SKIP_KIND] CRD of apiextentions v1beta1 should be B/R successfully from cluster(k8s version < 1.22) to cluster(k8s version >= 1.22)", APIExtensionsVersionsTest)

The current E2E uses the regular expression to filter test cases by the message in the test cases' text message.

Ginkgo v2 supports labels in the nodes. https://onsi.github.io/ginkgo/MIGRATING_TO_V2#label-decorator

Describe the solution you'd like

Use labels instead of the regex to filter test cases.

Anything else you would like to add:

Environment:

  • Velero version (use velero version):
  • Kubernetes version (use kubectl version):
  • Kubernetes installer & version:
  • Cloud provider or hardware configuration:
  • OS (e.g. from /etc/os-release):

Vote on this issue!

This is an invitation to the Velero community to vote on issues, you can see the project's top voted issues listed here.
Use the "reaction smiley face" up to the right of this comment to vote.

  • :+1: for "The project would be better with this feature added"
  • :-1: for "This feature will not enhance the project in a meaningful way"

blackpiglet avatar Jul 01 '24 10:07 blackpiglet