From: Alexander Zarochentsev Date: Sun, 20 Feb 2022 19:50:44 +0000 (+0000) Subject: LU-15577 tests: fix interop issue X-Git-Tag: 2.15.0-RC3~42 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=cbee73c4fe377322ba9c808edf05b162215683d7;p=fs%2Flustre-release.git LU-15577 tests: fix interop issue Sanity test 831 expects MDS to have osp.*.max_sync_changes tunable, appeared in 2.14.56. Adding a check to skip older MDSes. Fixes: c226e70007 ("LU-15114 osp: changes queuing throttle") Test-Parameters: trivial serverversion=2.12 serverdistro=el7.9 testlist=sanity env=ONLY=831 Test-Parameters: trivial testlist=sanity env=ONLY=831 Signed-off-by: Alexander Zarochentsev Change-Id: I911f7b0d9dd606f08f544fce55bf8bcfe9fb69e3 Reviewed-on: https://review.whamcloud.com/46566 Tested-by: jenkins Reviewed-by: Elena Gryaznova Tested-by: Maloo Reviewed-by: Andreas Dilger --- diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index d37c6b5e..573fc82 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -28020,6 +28020,9 @@ test_823() { run_test 823 "Setting create_count > OST_MAX_PRECREATE is lowered to maximum" test_831() { + [[ $MDS1_VERSION -lt $(version_code 2.14.56) ]] && + skip "Need MDS version 2.14.56" + local sync_changes=$(do_facet $SINGLEMDS \ $LCTL get_param -n osp.$FSNAME-OST0000-osc-MDT0000.sync_changes)