Pearl1594 commented on a change in pull request #5992:
URL: https://github.com/apache/cloudstack/pull/5992#discussion_r806470826



##########
File path: test/integration/smoke/test_service_offerings.py
##########
@@ -811,8 +815,27 @@ def test_06_disk_offering_strictness_false(self):
             "Check service offering of the VM"
         )
 
+        self.updateVmwareSettings(True)

Review comment:
       the actual value before the test started is `false`, which is what it is 
getting reset to.

##########
File path: test/integration/smoke/test_service_offerings.py
##########
@@ -811,8 +815,27 @@ def test_06_disk_offering_strictness_false(self):
             "Check service offering of the VM"
         )
 
+        self.updateVmwareSettings(True)

Review comment:
       @sureshanaparti I've addressed your comment, could you please check if 
the changes are fine? Thanks

##########
File path: test/integration/smoke/test_service_offerings.py
##########
@@ -811,8 +817,28 @@ def test_06_disk_offering_strictness_false(self):
             "Check service offering of the VM"
         )
 
+        if fullClone[0].value.lower() == "false":
+            self.updateVmwareSettings(True)
+
         return
 
+    def updateVmwareSettings(self, tearDown):
+        value = "false"
+        if not tearDown:
+            value = "true"
+        if self.hypervisor.lower() == 'vmware':
+            Configurations.update(self.apiclient,
+                                  "vmware.create.full.clone",
+                                  value)
+            allStoragePools = StoragePool.list(
+                self.apiclient
+            )
+            for pool in allStoragePools:

Review comment:
       I am doing that at the moment @nvazquez . I'll update the PR soon




-- 
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: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to