path: root/tests/functional/afr/
diff options
Diffstat (limited to 'tests/functional/afr/')
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/functional/afr/ b/tests/functional/afr/
index c84a9a1..edd154f 100644
--- a/tests/functional/afr/
+++ b/tests/functional/afr/
@@ -63,24 +63,24 @@ class AssignGfidOnLookup(GlusterBaseClass):"Successfully uploaded IO scripts to clients %s",
+ def setUp(self):
+ self.get_super_method(self, 'setUp')()
# Setup Volume and Mount Volume
-"Starting to Setup Volume and Mount Volume")
- ret = cls.setup_volume_and_mount_volume(cls.mounts)
+ ret = self.setup_volume_and_mount_volume(self.mounts)
if not ret:
raise ExecutionError("Failed to Setup_Volume and Mount_Volume")"Successful in Setup Volume and Mount Volume")
- @classmethod
- def tearDownClass(cls):
+ def tearDown(self):
# Cleanup Volume
-"Starting to clean up Volume %s", cls.volname)
- ret = cls.unmount_volume_and_cleanup_volume(cls.mounts)
+ ret = self.unmount_volume_and_cleanup_volume(self.mounts)
if not ret:
raise ExecutionError("Failed to create volume")
-"Successful in cleaning up Volume %s", cls.volname)
+"Successful in cleaning up Volume %s", self.volname)
- cls.get_super_method(cls, 'tearDownClass')()
+ self.get_super_method(self, 'tearDown')()
def verify_gfid(self, dirname):
dir_gfids = dict()