Whamcloud - gitweb
LU-15046 tests: skip sanity-flr/test_200c for old MDS 49/51649/1
authorAlex Deiter <adeiter@tintri.com>
Wed, 12 Jul 2023 20:58:02 +0000 (00:58 +0400)
committerAlex Deiter <adeiter@tintri.com>
Wed, 12 Jul 2023 20:58:02 +0000 (00:58 +0400)
Skip sanity-flr test_200c for old MDS missing the fix
for synchronized replicas and its corresponding test.

Fixes: b7ec0d2390 ("LU-15046 osp: precreate thread vs connect race")
Test-Parameters: trivial testlist=sanity-flr env=ONLY=200c
Signed-off-by: Alex Deiter <adeiter@tintri.com>
Change-Id: I87cd7d6b767086f993a27ce6905b05f87e325474

lustre/tests/sanity-flr.sh

index 439211f..9631e5b 100644 (file)
@@ -3489,6 +3489,9 @@ test_200b() {
 run_test 200b "racing IO, mirror extend and resync"
 
 test_200c() {
+       (( MDS1_VERSION >= $(version_code 2.15.53) )) ||
+               skip "Need MDS version at least 2.15.53"
+
        local tf=$DIR/$tfile
        local tf2=$DIR2/$tfile