From 25896b8b88207e181eba4994323865cce9878800 Mon Sep 17 00:00:00 2001 From: Sergey Cheremencev Date: Thu, 8 Feb 2024 15:37:29 +0300 Subject: [PATCH] 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 --- lustre/tests/sanity-quota.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 && -- 1.8.3.1