[LU-9495] Improve recovery-double-scale.sh with sub-tests Created: 11/May/17  Updated: 14/Apr/23

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.10.4
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: James Nunez (Inactive) Assignee: WC Triage
Resolution: Unresolved Votes: 0
Labels: test

Rank (Obsolete): 9223372036854775807

 Description   

Currently, recovery-double-scale contains a single sub-test called pairwise_fail(). pairwise_fail is composed of nine sub-tests. When one of pairwise_fail subtests is skipped or failed, the whole test suite is marked as SKIP or FAIL. Each of the nine subtests of pairwise_fail should be broken out into separate sub-tests. For example, for test 1

test_1() {
    # CMD_TEST_NUM=17.1
    failover_pair MDS OST "test 1: failover MDS, then OST =========="
    sleep $FAILOVER_PERIOD
}
run_test 1 " failover MDS, then OST”

With whatever additional variables and modifications needed to make sure each test runs correctly in a separate sub-test



 Comments   
Comment by Gerrit Updater [ 18/Jan/18 ]

James Nunez (james.a.nunez@intel.com) uploaded a new patch: https://review.whamcloud.com/30908
Subject: LU-9495 tests: create recovery-double subtests
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: cfb4fb2a449c46362f06d5cf97a4680eb208b300

Comment by Gerrit Updater [ 04/Mar/21 ]

James Nunez (jnunez@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/41888
Subject: LU-9495 tests: debug recovery-double-scale fail_on_skip
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 3bf2fb9fb547dccd3d05516b9cce7304e7e5b39c

Generated at Sat Feb 10 02:26:42 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.