From a042ad45e40c367a4092fcd9a0507c7cc26ca2b2 Mon Sep 17 00:00:00 2001 From: Elena Gryaznova Date: Wed, 7 Feb 2018 15:01:35 +0300 Subject: [PATCH] LU-8878 tests: skip several tests for CLIENTONLY mode tests 107, 300, 301, 302 fail SINGLEMDS, so they are to be skipped for CLIENTONLY mode. Author: Chennaiah Palla Signed-off-by: Chennaiah Palla Signed-off-by: Elena Gryaznova Test-Parameters: trivial testlist=sanity-hsm Cray-bug-id: LUS-4966 Seagate-bug-id: MRP-3529 Reviewed-by: Elena Gryaznova Reviewed-by: Rahul Deshmukh Change-Id: I8286bbaa403089a4a85fcf0c4d9451fe24e67836 Reviewed-on: https://review.whamcloud.com/24028 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Andriy Skulysh Reviewed-by: Vladimir Saveliev Reviewed-by: John L. Hammond Reviewed-by: Oleg Drokin --- lustre/tests/sanity-hsm.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lustre/tests/sanity-hsm.sh b/lustre/tests/sanity-hsm.sh index e842d06..b01f065 100755 --- a/lustre/tests/sanity-hsm.sh +++ b/lustre/tests/sanity-hsm.sh @@ -3924,6 +3924,8 @@ test_106() { run_test 106 "Copytool register/unregister" test_107() { + [ "$CLIENTONLY" ] && skip "CLIENTONLY mode" && return + # test needs a running copytool copytool setup # create and archive file @@ -4880,6 +4882,8 @@ test_254b() run_test 254b "Request counters are correctly incremented and decremented" test_300() { + [ "$CLIENTONLY" ] && skip "CLIENTONLY mode" && return + # the only way to test ondisk conf is to restart MDS ... echo "Stop coordinator and remove coordinator state at mount" # stop coordinator @@ -4907,6 +4911,8 @@ test_300() { run_test 300 "On disk coordinator state kept between MDT umount/mount" test_301() { + [ "$CLIENTONLY" ] && skip "CLIENTONLY mode" && return + local ai=$(get_hsm_param default_archive_id) local new=$((ai + 1)) @@ -4922,6 +4928,8 @@ test_301() { run_test 301 "HSM tunnable are persistent" test_302() { + [ "$CLIENTONLY" ] && skip "CLIENTONLY mode" && return + local ai=$(get_hsm_param default_archive_id) local new=$((ai + 1)) -- 1.8.3.1