Skip to content

Commit

Permalink
fix be ci failed
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaycean committed Mar 26, 2021
1 parent 9f982de commit 1f3a9c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/test/e2enew/route/route_with_script_luacode_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ var _ = ginkgo.Describe("route with script lucacode", func() {

//verify the log generated by script set in Step-3 above
logContent := base.ReadAPISIXErrorLog()
gomega.Expect(logContent).Should(gomega.ContainSubstring(`"hit access phase"`))
gomega.Expect(logContent).Should(gomega.ContainSubstring(`\"hit access phase\"`))

//clean log
base.CleanAPISIXErrorLog()
Expand Down Expand Up @@ -340,7 +340,7 @@ var _ = ginkgo.Describe("route with script id", func() {

//verify the log generated by script set in Step-4 above
logContent := base.ReadAPISIXErrorLog()
gomega.Expect(logContent).Should(gomega.ContainSubstring(`"hit access phase"`))
gomega.Expect(logContent).Should(gomega.ContainSubstring(`\"hit access phase\"`))

//clean log
base.CleanAPISIXErrorLog()
Expand Down

0 comments on commit 1f3a9c7

Please sign in to comment.