From ddb3d0b61ded0b9507baa25de08a2d51af17b284 Mon Sep 17 00:00:00 2001 From: James Nunez Date: Mon, 30 Jul 2018 10:02:17 -0600 Subject: [PATCH] LU-10940 tests: skip sanity test 802 when quota enabled If ENABLE_QUOTA is set, sanity test 802 will try to set the quota type on read-only targets. Setting quota requires changes to the targets and, thus, does not make sense for this test. sanity test 802 should be skipped if ENABLE_QUOTA is set. Test-Parameters: trivial envdefinitions=ENABLE_QUOTA=yes,ONLY=802 testlist=sanity Signed-off-by: James Nunez Change-Id: Ic9c245045961867b7dc93be9268e6f4a4631c1dc Reviewed-on: https://review.whamcloud.com/32900 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Wei Liu Reviewed-by: Hongchao Zhang Reviewed-by: Oleg Drokin --- lustre/tests/sanity.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 6f91721..1b5e165 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -19132,6 +19132,8 @@ test_802() { [[ $(lustre_version_code ost1) -lt $(version_code 2.9.55) ]] && skip "Need server version at least 2.9.55" + [[ $ENABLE_QUOTA ]] && skip "Quota enabled for read-only test" + mkdir $DIR/$tdir || error "(1) fail to mkdir" cp $LUSTRE/tests/test-framework.sh $DIR/$tdir/ || -- 1.8.3.1