Skip to content

Commit

Permalink
fix e2e
Browse files Browse the repository at this point in the history
Signed-off-by: zhangzujian <[email protected]>
  • Loading branch information
zhangzujian committed Feb 18, 2024
1 parent e332a16 commit b2516f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions test/e2e/framework/framework.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,9 @@ func OrderedDescribe(text string, body func()) bool {
// 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)
return framework.ConformanceIt(text, body, framework.WithConformance())
}

func CorruptiveIt(text string, body interface{}) bool {
return ginkgo.It(text+" [Corruptive]", ginkgo.Offset(1), body)
func DisruptiveIt(text string, body interface{}) bool {
return framework.It(text, ginkgo.Offset(1), body, framework.WithDisruptive())
}
2 changes: 1 addition & 1 deletion test/e2e/ha/ha_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ var _ = framework.Describe("[group:ha]", func() {
f := framework.NewDefaultFramework("ha")
f.SkipNamespaceCreation = true

framework.CorruptiveIt("ovn db should recover automatically from db file corruption", func() {
framework.DisruptiveIt("ovn db should recover automatically from db file corruption", func() {
f.SkipVersionPriorTo(1, 11, "This feature was introduced in v1.11")

ginkgo.By("Getting daemonset ovs-ovn")
Expand Down

0 comments on commit b2516f8

Please sign in to comment.