e2e framework: support Ginkgo decorators for framework.ConformanceIt

Additional parameters like ginkgo.SpecTimeout may also be relevant for
conformance tests.
This commit is contained in:
Patrick Ohly
2022-12-19 12:44:44 +01:00
parent a864583905
commit a51999e951
2 changed files with 7 additions and 5 deletions

View File

@@ -529,11 +529,6 @@ func (kc *KubeConfig) FindCluster(name string) *KubeCluster {
return nil
}
// ConformanceIt is wrapper function for ginkgo It. Adds "[Conformance]" tag and makes static analysis easier.
func ConformanceIt(text string, body interface{}) bool {
return ginkgo.It(text+" [Conformance]", ginkgo.Offset(1), body)
}
// PodStateVerification represents a verification of pod state.
// Any time you have a set of pods that you want to operate against or query,
// this struct can be used to declaratively identify those pods.