Generate conformance test spec with offset
decorator
`FullStackTrace` is not available in v2 if no exception found with test execution. The change is needed for conformance test's spec validation. pls see: https://github.com/onsi/ginkgo/issues/960 for details. Signed-off-by: Dave Chen <dave.chen@arm.com>
This commit is contained in:
@@ -644,7 +644,7 @@ func (kc *KubeConfig) FindCluster(name string) *KubeCluster {
|
||||
|
||||
// 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]", body)
|
||||
return ginkgo.It(text+" [Conformance]", ginkgo.Offset(1), body)
|
||||
}
|
||||
|
||||
// PodStateVerification represents a verification of pod state.
|
||||
|
Reference in New Issue
Block a user