From ce20d5a6cb529bc6ee2f51e5c7db761fdff5f21e Mon Sep 17 00:00:00 2001 From: Sergey Cheremencev Date: Fri, 7 Feb 2025 03:15:46 +0300 Subject: [PATCH] LU-18676 tests: enable sanity-quota_49 The fix "LU-18676 tests: random write to set file size" has been landed, so re-enable the test. Fixes: 149657180e ("LU-18676 tests: random write to set file size") Test-Parameters: trivial testlist=sanity-quota fstype=zfs Test-Parameters: testlist=sanity-quota fstype=zfs env=ONLY=49,ONLY_REPEAT=20 Signed-off-by: Sergey Cheremencev Change-Id: Ie3171cff03ce957cc88efe81b4c837a1872b139b Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/57997 Tested-by: Maloo Tested-by: jenkins Reviewed-by: Oleg Drokin Reviewed-by: James Simmons Reviewed-by: Alex Zhuravlev --- lustre/tests/sanity-quota.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/lustre/tests/sanity-quota.sh b/lustre/tests/sanity-quota.sh index 615aaf1..da1e539 100755 --- a/lustre/tests/sanity-quota.sh +++ b/lustre/tests/sanity-quota.sh @@ -17,10 +17,6 @@ ALWAYS_EXCEPT="$SANITY_QUOTA_EXCEPT " ALWAYS_EXCEPT+="" # UPDATE THE COMMENT ABOVE WITH BUG NUMBERS WHEN CHANGING ALWAYS_EXCEPT! -if [[ "$ost1_FSTYPE" == "zfs" ]]; then - always_except LU-18676 49 -fi - # Test duration: 30 min [ "$SLOW" = "no" ] && EXCEPT_SLOW="61" @@ -4158,14 +4154,14 @@ test_get_allquota() { sleep 5 start=$SECONDS - $LFS quota -a -s $start_qid -e $end_qid -u $MOUNT | tail -n 50 + $LFS quota -a -s $start_qid -e $end_qid -u $MOUNT | head -n 50 total=$((SECONDS - start)) (( end - start > 0 )) && echo "time=$total, rate=$((qid_cnt / total))/s" || echo "time=0, rate=$qid_cnt/0" start=$SECONDS - $LFS quota -a -s $start_qid -e $end_qid -g $MOUNT | tail -n 50 + $LFS quota -a -s $start_qid -e $end_qid -g $MOUNT | head -n 50 total=$((SECONDS - start)) (( end - start > 0 )) && echo "time=$total, rate=$((qid_cnt / total))/s" || -- 1.8.3.1