summaryrefslogtreecommitdiffstats
path: root/tests/functional/dht/test_healing_of_custom_xattrs_on_newly_added_bricks.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/dht/test_healing_of_custom_xattrs_on_newly_added_bricks.py')
-rw-r--r--tests/functional/dht/test_healing_of_custom_xattrs_on_newly_added_bricks.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/functional/dht/test_healing_of_custom_xattrs_on_newly_added_bricks.py b/tests/functional/dht/test_healing_of_custom_xattrs_on_newly_added_bricks.py
index 4f7f77ec0..d396702a0 100644
--- a/tests/functional/dht/test_healing_of_custom_xattrs_on_newly_added_bricks.py
+++ b/tests/functional/dht/test_healing_of_custom_xattrs_on_newly_added_bricks.py
@@ -50,17 +50,17 @@ class TestCustomxattrsOnNewBricks(GlusterBaseClass):
raise ExecutionError("Failed to Setup_Volume and Mount_Volume")
g.log.info("Successful in Setup Volume and Mount Volume")
- @classmethod
- def tearDownClass(cls):
- # Unmount Volume and Cleanup Volume
+ def tearDown(self):
+
+ # Unmount and cleanup original volume
g.log.info("Starting to Unmount Volume and Cleanup Volume")
- ret = cls.unmount_volume_and_cleanup_volume(mounts=cls.mounts)
+ ret = self.unmount_volume_and_cleanup_volume(mounts=self.mounts)
if not ret:
- raise ExecutionError("Failed to Unmount Volume and Cleanup Volume")
- g.log.info("Successful in Unmount Volume and Cleanup Volume")
+ raise ExecutionError("Failed to umount the vol & cleanup Volume")
+ g.log.info("Successful in umounting the volume and Cleanup")
# Calling GlusterBaseClass tearDown
- cls.get_super_method(cls, 'tearDownClass')()
+ self.get_super_method(self, 'tearDown')()
def check_xattr(self, list_of_all_dirs):
"""