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

Remove unused code in evergreen.yml

    • Type: Icon: Technical Debt Technical Debt
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None

      This ticket should list all the unused code sections and address them.

      • There are a few Evergreen functions that are not used:
        • tiered abort test
          • A task already exists, see "csuite-tiered-abort-test" but it has been decided to keep it for later use. 
        • timestamp abort test
          • The task already exists, see "csuite-timestamp-abort-test", code can be removed.
      • This seems redundant:
            - command: shell.exec
              params:
                working_dir: "wiredtiger/build_posix"
                script: |
                  set -o errexit
                  set -o verbose            
                  WT3363_CHECKPOINT_OP_RACES=1 test/csuite/./test_wt3363_checkpoint_op_races 2>&1 

      It is in the long-test task and there is already csuite-wt3363-checkpoint-op-races-test that does the exact same thing. Furthermore, the option WT3363_CHECKPOINT_OP_RACES does no longer exists.

      • In the ftruncate-test task, the random_abort is commented out. We could probably add it back. It will be done as part of WT-8519.
      • A task named "linux-directio" is commented out. Investigate if we should keep it.
        • Another task linux-directio already exists just above. This other task uses the format test script function that lets us run test format in parallel. This change was introduced in WT-5458. The commented test uses the format test function which does not allow parallelization. As the two tests are the same, we can remove the commented one.

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

              Created:
              Updated:
              Resolved: