vishesh92 commented on code in PR #7515:
URL: https://github.com/apache/cloudstack/pull/7515#discussion_r1218934298
##########
test/integration/smoke/test_kubernetes_clusters.py:
##########
@@ -610,7 +615,84 @@ def test_10_vpc_tier_kubernetes_cluster(self):
k8s_cluster = None
return
- def createKubernetesCluster(self, name, version_id, size=1,
control_nodes=1):
+ @attr(tags=["advanced", "smoke"], required_hardware="false")
+ def test_11_test_unmanaged_cluster_lifecycle(self):
+ """Test all operations on unmanaged Kubernetes cluster
+
+ # Validate the following:
+ # 1. createKubernetesCluster should return valid info for new cluster
+ # 2. The Cloud Database contains the valid information
+ # 3. stopKubernetesCluster doesn't work
+ # 4. startKubernetesCluster doesn't work
+ # 5. upgradeKubernetesCluster doesn't work
+ # 6. Adding & removing vm from cluster works
+ # 7. deleteKubernetesCluster should delete an existing HA Kubernetes
cluster
+ """
+ cluster = self.createKubernetesCluster("test-unmanaged-cluster", None,
+ cluster_type="ExternalManaged")
Review Comment:
Agree. Let me setup the environment and test with & without this change.
--
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]