Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-8503

Create a function to execute csuite tests in evergreen.yml

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • WT10.0.2, 5.3.0
    • None

    Description

      We could create the following function to execute a test from the csuite folder:

        "csuite test":
          command: shell.exec
          params:
            working_dir: "wiredtiger/build_posix/test/csuite"
            script: |
             set -o errexit
             set -o verbose
             ${test_env_vars|} ./${test_exe} ${test_args|} 2>&1 

      And then call it this way (using test_random_abort example):

            - func: "csuite test"
              vars:
                test_exe: test_random_abort
            - func: "csuite test"
              vars:
                test_exe: test_random_abort
                test_args: -t 10 

      Good candidates are the tests from the "long-test" task. Those tasks are also good candidates to use the new function.

      The functions "tiered abort test" and "timestamp abort test" could be removed.

      Attachments

        Issue Links

          Activity

            People

              etienne.petrel@mongodb.com Etienne Petrel
              etienne.petrel@mongodb.com Etienne Petrel
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: