Unverified Commit 0d98463f authored by Kubernetes Prow Robot's avatar Kubernetes Prow Robot Committed by GitHub

Merge pull request #73508 from k-toyoda-pi/add_test_conmponentstatuses

Add e2e test for getting componentstatuses by kubectl
parents b3ca8262 bdd17d4c
......@@ -724,6 +724,19 @@ metadata:
})
})
framework.KubeDescribe("Kubectl get componentstatuses", func() {
It("should get componentstatuses", func() {
By("getting list of componentstatuses")
output := framework.RunKubectlOrDie("get", "componentstatuses", "-o", "jsonpath={.items[*].metadata.name}")
components := strings.Split(output, " ")
By("getting details of componentstatuses")
for _, component := range components {
By("getting status of " + component)
framework.RunKubectlOrDie("get", "componentstatuses", component)
}
})
})
framework.KubeDescribe("Kubectl apply", func() {
It("should apply a new configuration to an existing RC", func() {
controllerJson := commonutils.SubstituteImageName(string(readTestFileOrDie(redisControllerFilename)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment