Skip to content

Commit

Permalink
Modify the writing method of time
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaycean committed Mar 10, 2021
1 parent e6014b7 commit 55fd1a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/test/e2enew/route/route_with_script_luacode_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ var _ = ginkgo.Describe("route with script id", func() {
t := ginkgo.GinkgoT()

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

//verify the log generated by script set in Step-4 above
logContent := base.ReadAPISIXErrorLog()
Expand Down

0 comments on commit 55fd1a4

Please sign in to comment.