summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2014-05-20 20:38:18 +0530
committerPranith Kumar Karampuri <pkarampu@redhat.com>2014-05-20 20:58:39 -0700
commit5315df764458022d3664459123880880a27fc849 (patch)
treeb6c0323c782d4977ff6e31daec2ba8e41aea8a22
parentabaebaef5ab7e3bef254ded2ef9bb93aaa6c39dc (diff)
Tests: Umount nfs mount before volume stop
Change-Id: Ia1b98ee56bfa562c3f97f1649699f49917ebbfc7 BUG: 1092850 Signed-off-by: Pranith Kumar K <pkarampu@redhat.com> Reviewed-on: http://review.gluster.org/7813 Reviewed-by: Krutika Dhananjay <kdhananj@redhat.com> Reviewed-by: Humble Devassy Chirammal <humble.devassy@gmail.com> Tested-by: Gluster Build System <jenkins@build.gluster.com>
-rwxr-xr-xtests/basic/quota.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/basic/quota.t b/tests/basic/quota.t
index d92b382c780..60dd5549627 100755
--- a/tests/basic/quota.t
+++ b/tests/basic/quota.t
@@ -183,6 +183,8 @@ TEST getfattr -d -m "trusted.glusterfs.quota.limit-set" -e hex \
## </Test quota functionality in add-brick senarios>
## -------------------------------------------------
+umount -l $N0
+
TEST $CLI volume quota $V0 disable
TEST $CLI volume stop $V0;
EXPECT 'Stopped' volinfo_field $V0 'Status';
@@ -190,6 +192,4 @@ EXPECT 'Stopped' volinfo_field $V0 'Status';
TEST $CLI volume delete $V0;
TEST ! $CLI volume info $V0;
-umount -l $N0
-
cleanup;