Skip to content

Commit

Permalink
Merge pull request openshift-kni#775 from openshift-kni/e2e-fixture-s…
Browse files Browse the repository at this point in the history
…kip-fix

e2e: serial: more precise skip location
  • Loading branch information
openshift-merge-bot[bot] authored Nov 14, 2023
2 parents c5089d4 + c173f45 commit 96d9ec8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/utils/fixture/fixture.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,12 @@ func Teardown(ft *Fixture) error {

func Skip(ft *Fixture, message string) {
ft.Skipped = true
ginkgo.Skip(message)
ginkgo.Skip(message, 1)
}

func Skipf(ft *Fixture, format string, args ...interface{}) {
Skip(ft, fmt.Sprintf(format, args...))
ft.Skipped = true
ginkgo.Skip(fmt.Sprintf(format, args...), 1)
}

func Cooldown(ft *Fixture) {
Expand Down

0 comments on commit 96d9ec8

Please sign in to comment.