summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPranav <prprakas@redhat.com>2020-06-10 16:20:03 +0530
committerBala Konda Reddy M <bala12352@gmail.com>2020-06-10 11:11:38 +0000
commitf1dd941986a8a8e31b76d9ae79841f1deede11ea (patch)
treeb92a0b1c5a4f6593f14788c15bd404a82c6cd217 /tests
parent47f5ccbb03284f2a84a62f840841d86f80292b06 (diff)
[Testfix] Fix teardown failure for test_deem_statfs_quotad.py
Problem: As in setUpClass, the setup_volume method is used for volume creation, volume mount is not done. But in teardown, unmount_volume_and_cleanup_volume is used. This causes teardown to fail Fix: change unmount_volume_and_cleanup_volume to cleanup_volume Change-Id: Ia9bb6bcd36ce9ddb9c200ef18779df47a009d42f Signed-off-by: Pranav <prprakas@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/functional/quota/test_deem_statfs_quotad.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functional/quota/test_deem_statfs_quotad.py b/tests/functional/quota/test_deem_statfs_quotad.py
index 8aecfc6e6..06e87f7e8 100644
--- a/tests/functional/quota/test_deem_statfs_quotad.py
+++ b/tests/functional/quota/test_deem_statfs_quotad.py
@@ -43,8 +43,8 @@ class QuotaDeemStatfsAndQuotad(GlusterBaseClass):
def tearDown(self):
# Unmount and cleanup original volume
- g.log.info("Starting to Unmount Volume and Cleanup Volume")
- ret = self.unmount_volume_and_cleanup_volume(mounts=self.mounts)
+ g.log.info("Starting to Cleanup Volume")
+ ret = self.cleanup_volume()
if not ret:
raise ExecutionError("Failed to umount the vol & cleanup Volume")
g.log.info("Successful in umounting the volume and Cleanup")