summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrun-tests.sh1
-rw-r--r--tests/bugs/quota/bug-1235182.t3
2 files changed, 4 insertions, 0 deletions
diff --git a/run-tests.sh b/run-tests.sh
index 91ba5c0..01ffa5b 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 2f963e6..4b0f4f4 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