summaryrefslogtreecommitdiffstats
path: root/tests/functional/snapshot/test_validate_snapshot_max_limit.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/snapshot/test_validate_snapshot_max_limit.py')
-rw-r--r--tests/functional/snapshot/test_validate_snapshot_max_limit.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/functional/snapshot/test_validate_snapshot_max_limit.py b/tests/functional/snapshot/test_validate_snapshot_max_limit.py
index 2e0ad9f..75582e4 100644
--- a/tests/functional/snapshot/test_validate_snapshot_max_limit.py
+++ b/tests/functional/snapshot/test_validate_snapshot_max_limit.py
@@ -51,8 +51,9 @@ from glustolibs.io.utils import validate_io_procs, get_mounts_stat
from glustolibs.gluster.snap_ops import get_snap_list, snap_delete_all
-@runs_on([['distributed'],
- ['glusterfs']])
+@runs_on([['replicated', 'distributed-replicated', 'dispersed',
+ 'distributed-dispersed', 'distributed'],
+ ['glusterfs', 'nfs', 'cifs']])
class SnapCreateMax(GlusterBaseClass):
"""
Test for snapshot create max limits
@@ -115,7 +116,7 @@ class SnapCreateMax(GlusterBaseClass):
tearDown
"""
ret, _, _ = snap_delete_all(self.mnode)
- if not ret:
+ if ret != 0:
raise ExecutionError("Failed to delete all snapshots.")
GlusterBaseClass.tearDown.im_func(self)