Skip to content

Commit

Permalink
put ginkgo.GinkgoT in front.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaycean committed Mar 12, 2021
1 parent 6d54f94 commit be0fd2b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions api/test/e2enew/route/route_with_script_luacode_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ import (
"e2enew/base"
)

var t = ginkgo.GinkgoT()

var _ = ginkgo.Describe("route with script lucacode", func() {
ginkgo.It("clean APISIX error log", func() {
base.CleanAPISIXErrorLog()
Expand Down Expand Up @@ -139,8 +141,6 @@ var _ = ginkgo.Describe("route with script lucacode", func() {
}),
)
ginkgo.It("verify the log generated by script set in Step-3 above", func() {
t := ginkgo.GinkgoT()

//sleep for process log
time.Sleep(1500 * time.Millisecond)

Expand Down Expand Up @@ -324,8 +324,6 @@ var _ = ginkgo.Describe("route with script id", func() {
}),
)
ginkgo.It("verify the log generated by script set in Step-4 above", func() {
t := ginkgo.GinkgoT()

//sleep for process log
time.Sleep(1500 * time.Millisecond)

Expand Down

0 comments on commit be0fd2b

Please sign in to comment.