Whamcloud - gitweb
LU-8878 tests: skip several tests for CLIENTONLY mode 28/24028/4
authorElena Gryaznova <c17455@cray.com>
Wed, 7 Feb 2018 12:01:35 +0000 (15:01 +0300)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 27 Feb 2018 16:29:42 +0000 (16:29 +0000)
tests 107, 300, 301, 302 fail SINGLEMDS, so they are to be
skipped for CLIENTONLY mode.

Author: Chennaiah Palla <chennaiah.palla@seagate.com>

Signed-off-by: Chennaiah Palla <chennaiah.palla@seagate.com>
Signed-off-by: Elena Gryaznova <c17455@cray.com>
Test-Parameters: trivial testlist=sanity-hsm
Cray-bug-id: LUS-4966
Seagate-bug-id: MRP-3529
Reviewed-by: Elena Gryaznova <c17455@cray.com>
Reviewed-by: Rahul Deshmukh <rahul.deshmukh@seagate.com>
Change-Id: I8286bbaa403089a4a85fcf0c4d9451fe24e67836
Reviewed-on: https://review.whamcloud.com/24028
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andriy Skulysh <c17819@cray.com>
Reviewed-by: Vladimir Saveliev <c17830@cray.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/sanity-hsm.sh

index e842d06..b01f065 100755 (executable)
@@ -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))