Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-9495

Improve recovery-double-scale.sh with sub-tests

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: Lustre 2.10.4
    • Fix Version/s: None
    • Labels:
    • 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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jamesanunez James Nunez
                Reporter:
                jamesanunez James Nunez
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: