diff options
author | Krutika Dhananjay <kdhananj@redhat.com> | 2016-03-08 15:44:04 +0530 |
---|---|---|
committer | Jeff Darcy <jdarcy@redhat.com> | 2016-03-11 11:10:30 -0800 |
commit | 0e048b309b64e574039fc1ebedb971791d43b5e1 (patch) | |
tree | 0b9adb61d7872a09113283f42b5e46e913efa559 /tests/bugs/shard/bug-1260637.t | |
parent | df7390c9d7db40dcd68cf1020b6248f5105ab8eb (diff) |
features/shard: Implement discard fop
Change-Id: Ia5bd8d36b21a586df6556fbec3474892d5871229
BUG: 1261841
Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com>
Reviewed-on: http://review.gluster.org/13657
Smoke: Gluster Build System <jenkins@build.gluster.com>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Tested-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
CentOS-regression: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'tests/bugs/shard/bug-1260637.t')
-rw-r--r-- | tests/bugs/shard/bug-1260637.t | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/bugs/shard/bug-1260637.t b/tests/bugs/shard/bug-1260637.t index f5bf083b5dc..21008ee19dd 100644 --- a/tests/bugs/shard/bug-1260637.t +++ b/tests/bugs/shard/bug-1260637.t @@ -1,6 +1,7 @@ #!/bin/bash . $(dirname $0)/../../include.rc +. $(dirname $0)/../../volume.rc cleanup @@ -34,7 +35,7 @@ TEST ! setfattr -x trusted.glusterfs.shard.file-size $M0/foo # Verify that shard xattrs are not listed when listxattr is triggered. TEST ! "getfattr -d -m . $M0/foo | grep shard" -TEST umount $M0 +EXPECT_WITHIN $UMOUNT_TIMEOUT "Y" force_umount $M0 TEST $CLI volume stop $V0 TEST $CLI volume delete $V0 |