Skip topology hints tests in k8s 1.23

This commit is contained in:
Peter Rifel 2022-04-19 22:30:11 -05:00
parent 91bce6627e
commit 50469d9955
No known key found for this signature in database
GPG Key ID: BC6469E5B16DB2B6
1 changed files with 5 additions and 0 deletions

View File

@ -97,6 +97,11 @@ func (t *Tester) setSkipRegexFlag() error {
skipRegex += "|should.not.disrupt.a.cloud.load-balancer.s.connectivity.during.rollout"
}
if strings.Contains(cluster.Spec.KubernetesVersion, "v1.23.") {
// beta feature not enabled by default
skipRegex += "|Topology.Hints"
}
// Ensure it is valid regex
if _, err := regexp.Compile(skipRegex); err != nil {
return err