Skip to content

Commit

Permalink
fix: fix some sleep location in e2e test (#1123)
Browse files Browse the repository at this point in the history
Co-authored-by: 琚致远 <[email protected]>
  • Loading branch information
starsz and juzhiyuan authored Dec 25, 2020
1 parent 02a4702 commit 78b4031
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion api/test/e2e/consumer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions api/test/e2e/label_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions api/test/e2e/ssl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 78b4031

Please sign in to comment.