From 9e25e70d78f3f5fdb7489f4f9841b0931927f10c Mon Sep 17 00:00:00 2001 From: Andreas Dilger Date: Wed, 8 Jun 2022 08:40:20 -0600 Subject: [PATCH] LU-14642 tests: skip sanity-flr/100 for old servers The new FLR FSX mode in sanity-flr test_100 triggers LU-13730 when run on old servers. Skip it in this case. Test-Parameters: trivial testlist=sanity-flr env=ONLY=100 Test-Parameters: serverversion=2.14 testlist=sanity-flr env=ONLY=100 Fixes: 90ba8b4ac360 ("LU-14642 test: add fsx mirror file test mode") Fixes: 571f3cf11159 ("LU-13730 lod: don't confuse stale with primary flag") Signed-off-by: Andreas Dilger Change-Id: I595bba6d5ab318ae591d80704c70998af9166de1 Reviewed-on: https://review.whamcloud.com/47567 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Bobi Jam Reviewed-by: Wei Liu Reviewed-by: Oleg Drokin --- lustre/tests/sanity-flr.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lustre/tests/sanity-flr.sh b/lustre/tests/sanity-flr.sh index 781f807..c268fdc 100644 --- a/lustre/tests/sanity-flr.sh +++ b/lustre/tests/sanity-flr.sh @@ -3111,6 +3111,9 @@ run_test 70 "mirror create and split race" test_100() { local tf=$DIR/$tdir/$tfile + (( $OST1_VERSION >= $(version_code 2.14.51) )) || + skip "Need OST version at least 2.14.51" + test_mkdir $DIR/$tdir -- 1.8.3.1