From 3c39aebaa9a4d2ca9764d463f1f8494a95cc490d Mon Sep 17 00:00:00 2001 From: "John L. Hammond" Date: Wed, 30 Sep 2015 09:52:48 -0500 Subject: [PATCH] LU-7040 test: skip sanity-hsm 12q for old MDSs Before 2.7.58 MDSs do not set OBD_MD_TSTATE in some of the cases that they should. So skip sanity-hsm test_12q when running against these servers. Signed-off-by: John L. Hammond Change-Id: I2ebe1b24e28bd4a0f5c03eace1c74678c7442c5f Reviewed-on: http://review.whamcloud.com/16683 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Faccini Bruno Reviewed-by: Andreas Dilger --- lustre/tests/sanity-hsm.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lustre/tests/sanity-hsm.sh b/lustre/tests/sanity-hsm.sh index 0126b78..bc5853c 100755 --- a/lustre/tests/sanity-hsm.sh +++ b/lustre/tests/sanity-hsm.sh @@ -1431,6 +1431,8 @@ cleanup_test_12q() { } test_12q() { + [ $(lustre_version_code $SINGLEMDS) -lt $(version_code 2.7.58) ] && + skip "need MDS version at least 2.7.58" && return 0 zconf_mount $(facet_host $SINGLEAGT) $MOUNT3 || error "cannot mount $MOUNT3 on $SINGLEAGT" -- 1.8.3.1