This is an automated email from the ASF dual-hosted git repository.

juzhiyuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-dashboard.git


The following commit(s) were added to refs/heads/master by this push:
     new d1a7de0  fix: fix ci failedx (#1522)
d1a7de0 is described below

commit d1a7de02794d4b494d402c395da8923f6ee7f1e9
Author: JinChen <[email protected]>
AuthorDate: Sat Feb 27 21:46:39 2021 +0800

    fix: fix ci failedx (#1522)
---
 api/test/e2enew/route_online_debug/route_online_debug_test.go | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/api/test/e2enew/route_online_debug/route_online_debug_test.go 
b/api/test/e2enew/route_online_debug/route_online_debug_test.go
index 0b6b935..342e087 100644
--- a/api/test/e2enew/route_online_debug/route_online_debug_test.go
+++ b/api/test/e2enew/route_online_debug/route_online_debug_test.go
@@ -21,6 +21,7 @@ import (
        "io/ioutil"
        "net/http"
        "path/filepath"
+       "time"
 
        "github.com/onsi/ginkgo"
        "github.com/onsi/ginkgo/extensions/table"
@@ -743,6 +744,7 @@ var _ = 
ginkgo.Describe("Route_Online_Debug_Route_With_Files", func() {
 
        ginkgo.It("verify the route just imported and delete data", func() {
                t := ginkgo.GinkgoT()
+               time.Sleep(time.Duration(500) * time.Millisecond)
                request, _ := http.NewRequest("GET", 
base.ManagerAPIHost+"/apisix/admin/routes", nil)
                request.Header.Add("Authorization", base.GetToken())
                resp, err := http.DefaultClient.Do(request)

Reply via email to