summaryrefslogtreecommitdiffstats
path: root/tests/bugs/disperse/bug-1227869.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs/disperse/bug-1227869.t')
-rw-r--r--tests/bugs/disperse/bug-1227869.t8
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/bugs/disperse/bug-1227869.t b/tests/bugs/disperse/bug-1227869.t
index 83dc7655592..00fad825fae 100644
--- a/tests/bugs/disperse/bug-1227869.t
+++ b/tests/bugs/disperse/bug-1227869.t
@@ -9,12 +9,6 @@ QDD=$(dirname $0)/quota
# compile the test write program and run it
build_tester $(dirname $0)/../../basic/quota.c -o $QDD
-function usage()
-{
- local QUOTA_PATH=$1;
- $CLI volume quota $V0 list $QUOTA_PATH | grep "$QUOTA_PATH" | awk '{print $4}'
-}
-
TEST glusterd
TEST pidof glusterd
TEST $CLI volume create $V0 disperse 3 $H0:$B0/${V0}{1..3}
@@ -30,7 +24,7 @@ TEST $GFS --volfile-id=/$V0 --volfile-server=$H0 $M0
TEST $QDD $M0/file 256 40
-EXPECT "10.0MB" usage "/"
+EXPECT_WITHIN $MARKER_UPDATE_TIMEOUT "10.0MB" quotausage "/"
EXPECT "0" echo $(df -k $M0 | grep -q '10240 '; echo $?)
EXPECT "0" echo $(df -k $M0 | grep -q '92160 '; echo $?)