afzal442 commented on code in PR #1809:
URL: 
https://github.com/apache/apisix-ingress-controller/pull/1809#discussion_r1184953240


##########
test/e2e/suite-ingress/suite-ingress-features/status.go:
##########
@@ -275,6 +276,20 @@ wrw7im4TNSAdwVX4Y1F4svJ2as5SJn5QYGAzXDixNuwzXYrpP9rzA2s=
                assert.Contains(ginkgo.GinkgoT(), output, `status: "False"`, 
"status.conditions.status  is recorded")
        })
 
+       ginkgo.It("check ApisixClusterConfig status is recorded", func() {
+               // create ApisixClusterConfig resource
+               clusterConfigName := config.ApisixV2
+               assert.Nil(ginkgo.GinkgoT(), 
s.NewApisixClusterConfig(clusterConfigName, true, true), "create cluster config 
error")
+               time.Sleep(6 * time.Second)
+
+               // status should be recorded as successfulen
+               output, err := s.GetOutputFromString("acc", clusterConfigName, 
"-o", "yaml")
+               assert.Nil(ginkgo.GinkgoT(), err, "Get output of 
ApisixPluginConfig resource")

Review Comment:
   ```suggestion
                assert.Nil(ginkgo.GinkgoT(), err, "Get output of 
ApisixClusterConfig resource")
   ```



-- 
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