diff --git a/api/test/e2e/consumer_test.go b/api/test/e2e/consumer_test.go index 10327060b4..6c26170ec8 100644 --- a/api/test/e2e/consumer_test.go +++ b/api/test/e2e/consumer_test.go @@ -157,7 +157,6 @@ func TestConsumer_Update_And_Get(t *testing.T) { Headers: map[string]string{"Authorization": token}, ExpectStatus: http.StatusOK, ExpectBody: "\"code\":0", - Sleep: sleepTime, }, { Desc: "update consumer by PUT", diff --git a/api/test/e2e/label_test.go b/api/test/e2e/label_test.go index dd2e366e5d..b984c086b8 100644 --- a/api/test/e2e/label_test.go +++ b/api/test/e2e/label_test.go @@ -132,6 +132,7 @@ func TestLabel(t *testing.T) { Path: "/apisix/admin/labels/route", ExpectStatus: http.StatusOK, ExpectBody: "{\"build\":\"16\"},{\"env\":\"production\"},{\"version\":\"v2\"}", + Sleep: sleepTime, }, { Desc: "get consumer label", diff --git a/api/test/e2e/ssl_test.go b/api/test/e2e/ssl_test.go index 9dc3b80565..616890011e 100644 --- a/api/test/e2e/ssl_test.go +++ b/api/test/e2e/ssl_test.go @@ -108,6 +108,7 @@ func TestSSL_Basic(t *testing.T) { Path: "/apisix/admin/routes/r1", Headers: map[string]string{"Authorization": token}, ExpectStatus: http.StatusOK, + Sleep: sleepTime, }, { Desc: "hit the route just created using HTTPS",