From 20a227345d4343a0e2f77ed4a4774f195860c7d5 Mon Sep 17 00:00:00 2001 From: vmallika Date: Fri, 6 Nov 2015 13:17:26 +0530 Subject: quota: fix for spurious failure Filed a bug# 1278689. For now marking the testcase tests/bugs/quota/bug-1235182.t' bad once the bug# 1278689, remove the testcase from bad list Change-Id: I224f907153d3e5f35834007a40b0050246d8787a BUG: 1278689 Signed-off-by: vmallika Reviewed-on: http://review.gluster.org/12526 Tested-by: Gluster Build System Reviewed-by: Dan Lambright Tested-by: Dan Lambright --- run-tests.sh | 1 + tests/bugs/quota/bug-1235182.t | 3 +++ 2 files changed, 4 insertions(+) diff --git a/run-tests.sh b/run-tests.sh index 91ba5c0bcd6..01ffa5b6f10 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -194,6 +194,7 @@ function is_bad_test () { local name=$1 for bt in ./tests/basic/quota-anon-fd-nfs.t \ + ./tests/bugs/quota/bug-1235182.t \ ./tests/basic/mount-nfs-auth.t \ ./tests/basic/quota-nfs.t \ ./tests/basic/tier/tier_lookup_heal.t \ diff --git a/tests/bugs/quota/bug-1235182.t b/tests/bugs/quota/bug-1235182.t index 2f963e664c6..4b0f4f4521d 100644 --- a/tests/bugs/quota/bug-1235182.t +++ b/tests/bugs/quota/bug-1235182.t @@ -44,12 +44,15 @@ for i in {1..50}; do #rename to different dir TEST_IN_LOOP mkdir $M0/$ii TEST_IN_LOOP mv -f $M0/$i/f$ii $M0/$ii/f$ii; + stat $M0/$ii/f$ii >/dev/null done echo "Wait for process with pid $PID to complete" wait $PID echo "Process with pid $PID finished" +EXPECT_WITHIN $PROCESS_UP_TIMEOUT "0" STAT $M0/51/f51 + EXPECT_WITHIN $MARKER_UPDATE_TIMEOUT "100.0MB" quotausage "/" TEST $CLI volume stop $V0 -- cgit