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

Create a function to execute csuite tests in evergreen.yml

      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.

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

              Created:
              Updated:
              Resolved: