From: Sergey Cheremencev Date: Thu, 8 Feb 2024 12:37:29 +0000 (+0300) Subject: LU-16641 tests: fix sanity-quota_12b X-Git-Tag: 2.16.0-RC2~14 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=25896b8b88;p=fs%2Flustre-release.git LU-16641 tests: fix sanity-quota_12b Fix sanity-quota_12b to don't fail after creating $ilimit files with the same inode hardlmit. It is a legal case to fail create 2048 files when inode hard limit is also 2048. Test-Parameters: trivial testlist=sanity-quota Signed-off-by: Sergey Cheremencev Change-Id: Iea2e976ad1954dc2489ffa81e92e624364343069 Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/53969 Tested-by: Maloo Tested-by: jenkins Reviewed-by: Andreas Dilger Reviewed-by: Alex Zhuravlev Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/sanity-quota.sh b/lustre/tests/sanity-quota.sh index 1275b8a..c86b8f8 100755 --- a/lustre/tests/sanity-quota.sh +++ b/lustre/tests/sanity-quota.sh @@ -2519,8 +2519,7 @@ test_12b() { error "set quota failed" echo "Create $ilimit files on mdt0..." - $RUNAS createmany -m $TESTFILE0 $ilimit || - quota_error u $TSTUSR "create failed, but expect success" + $RUNAS createmany -m $TESTFILE0 $ilimit || true echo "Create files on mdt1..." $RUNAS createmany -m $TESTFILE1 1 &&