RedemptionC commented on a change in pull request #1599:
URL: https://github.com/apache/apisix-dashboard/pull/1599#discussion_r689677077



##########
File path: api/test/e2enew/upstream/upstream_test.go
##########
@@ -826,3 +827,158 @@ var _ = ginkgo.Describe("Upstream update use patch 
method", func() {
                })
        })
 })
+
+var _ = ginkgo.Describe("test upstream delete (route is in use)", func() {
+       table.DescribeTable("test upstream delete",
+               func(tc base.HttpTestCase) {
+                       base.RunTestCase(tc)
+               },
+               table.Entry("create upstream without plugin", base.HttpTestCase{
+                       Desc:    "create upstream without plugin",
+                       Object:  base.ManagerApiExpect(),
+                       Method:  http.MethodPut,
+                       Path:    "/apisix/admin/upstreams/u1",
+                       Headers: map[string]string{"Authorization": 
base.GetToken()},
+                       Body: `{
+                                       "nodes": {

Review comment:
       why isn't here a name field?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to