summaryrefslogtreecommitdiffstats
path: root/tests/functional/dht/test_rebalance_start_when_glusterd_down.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/dht/test_rebalance_start_when_glusterd_down.py')
-rw-r--r--tests/functional/dht/test_rebalance_start_when_glusterd_down.py12
1 files changed, 5 insertions, 7 deletions
diff --git a/tests/functional/dht/test_rebalance_start_when_glusterd_down.py b/tests/functional/dht/test_rebalance_start_when_glusterd_down.py
index 885deb2b0..bca96d2cd 100644
--- a/tests/functional/dht/test_rebalance_start_when_glusterd_down.py
+++ b/tests/functional/dht/test_rebalance_start_when_glusterd_down.py
@@ -193,14 +193,12 @@ class RebalanceValidation(GlusterBaseClass):
"Failed")
g.log.info("All peers are in connected state")
- @classmethod
- def tearDownClass(cls):
- # Unmount Volume and Cleanup Volume
+ # 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')()