summaryrefslogtreecommitdiffstats
path: root/tests/functional/snapshot/test_validate_snapshot_max_limit.py
diff options
context:
space:
mode:
authorNigel Babu <nigelb@redhat.com>2018-07-27 13:02:05 +0530
committerNigel Babu <nigelb@redhat.com>2018-08-07 19:48:57 +0530
commit82c94a926c1f1961932798257d18a2fc306f9393 (patch)
treea5d5aa43613182aa4d545bc4c0d10c123cf16fa2 /tests/functional/snapshot/test_validate_snapshot_max_limit.py
parente0bb79503c37843d02082b93425230f2afbbbde2 (diff)
Fix spelling mistake across the codebase
Change-Id: I46fc2feffe6443af6913785d67bf310838532421
Diffstat (limited to 'tests/functional/snapshot/test_validate_snapshot_max_limit.py')
-rw-r--r--tests/functional/snapshot/test_validate_snapshot_max_limit.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/functional/snapshot/test_validate_snapshot_max_limit.py b/tests/functional/snapshot/test_validate_snapshot_max_limit.py
index 75582e4..3df2a98 100644
--- a/tests/functional/snapshot/test_validate_snapshot_max_limit.py
+++ b/tests/functional/snapshot/test_validate_snapshot_max_limit.py
@@ -26,7 +26,7 @@ Steps :
5. modify max snap limit to default to 10.
6. modify soft-limit to 50%
6. Create 5 snapshots
- 7. Varify 5 created sucessfully
+ 7. Varify 5 created successfully
8. Create 6th snapshot - check for warning
-- it should not fail.
9. modify soft-limit to 100%
@@ -65,7 +65,7 @@ class SnapCreateMax(GlusterBaseClass):
5. modify max snap limit to default to 10.
6. modify soft-limit to 50%
6. Create 5 snapshots
- 7. Varify 5 created sucessfully
+ 7. Varify 5 created successfully
8. Create 6th snapshot - check for warning
-- it should not fail.
9. modify soft-limit to 100%
@@ -125,7 +125,7 @@ class SnapCreateMax(GlusterBaseClass):
ret = self.unmount_volume_and_cleanup_volume(self.mounts)
if not ret:
raise ExecutionError("Failed to cleanup volume and mount")
- g.log.info("Cleanup successfull for the volume and mount")
+ g.log.info("Cleanup successful for the volume and mount")
def test_validate_snaps_max_limit(self):
# pylint: disable=too-many-statements
@@ -194,7 +194,7 @@ class SnapCreateMax(GlusterBaseClass):
for i in range(1, 6):
self.assertTrue(("snapy%s" % i in snap_list), "%s snap not "
"found " % ("snapy%s" % i))
- g.log.info("Sucessfully validated names of snapshots")
+ g.log.info("Successfully validated names of snapshots")
# create 6th snapshot
cmd_str = "gluster snapshot create %s %s %s" % ("snapy6", self.volname,
@@ -246,7 +246,7 @@ class SnapCreateMax(GlusterBaseClass):
cmd_str = "gluster snapshot create %s %s %s" % ("snap", self.volname,
"no-timestamp")
ret, _, _ = g.run(self.mnode, cmd_str)
- self.assertNotEqual(ret, 0, ("Unexpected: sucessfully created 'snap' "
+ self.assertNotEqual(ret, 0, ("Unexpected: successfully created 'snap' "
"for %s" % self.volname))
g.log.info("Expected: Snapshot 'snap' not created as it is 11th snap")