summaryrefslogtreecommitdiffstats
path: root/tests/bugs/bug-830665.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs/bug-830665.t')
-rwxr-xr-xtests/bugs/bug-830665.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/bugs/bug-830665.t b/tests/bugs/bug-830665.t
index b0ffd070a3b..2a84f9b6045 100755
--- a/tests/bugs/bug-830665.t
+++ b/tests/bugs/bug-830665.t
@@ -64,7 +64,7 @@ mkdir $N0/a_dir;
echo "more_test_data" > $N0/a_dir/another_file;
## Unmount and stop the volume.
-TEST umount $N0;
+EXPECT_WITHIN $UMOUNT_TIMEOUT "Y" force_umount $N0
TEST $CLI volume stop $V0;
# Recreate the brick. Note that because of http://review.gluster.org/#change,4202
@@ -110,7 +110,7 @@ if [ "$EXIT_EARLY" = "1" ]; then
fi
## Finish up
-TEST umount $N0;
+EXPECT_WITHIN $UMOUNT_TIMEOUT "Y" force_umount $N0
TEST $CLI volume stop $V0;
EXPECT 'Stopped' volinfo_field $V0 'Status';