davidjumani commented on a change in pull request #4896:
URL: https://github.com/apache/cloudstack/pull/4896#discussion_r608624809
##########
File path: test/integration/smoke/test_kubernetes_clusters.py
##########
@@ -121,12 +121,13 @@ def setUpClass(cls):
(cls.services["cks_kubernetes_versions"]["1.16.3"]["semanticversion"],
cls.services["cks_kubernetes_versions"]["1.16.3"]["url"], e))
if cls.setup_failed == False:
- cls.cks_template = cls.getKubernetesTemplate()
+ cls.cks_template, existAlready = cls.getKubernetesTemplate()
if cls.cks_template == FAILED:
assert False, "getKubernetesTemplate() failed to return
template for hypervisor %s" % cls.hypervisor
cls.setup_failed = True
else:
- cls._cleanup.append(cls.cks_template)
+ if existAlready == False:
Review comment:
```suggestion
if !existAlready:
```
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]