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

Enable diagnostic mode for the CPP tests in evergreen

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT10.0.1, 5.0.4, 4.4.10, 5.2.0, 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Engines
    • 2
    • Storage - Ra 2021-10-18

      We need the flag --enable-diagnostic for our CPP tests so our calls to WT_ASSERT are enabled.

      Suggested fix:

      diff --git a/test/evergreen.yml b/test/evergreen.yml
      index 0a9642ed3..7fc412779 100755
      --- a/test/evergreen.yml
      +++ b/test/evergreen.yml
      @@ -2918,7 +2918,7 @@ buildvariants:
           make_command: PATH=/opt/mongodbtoolchain/v3/bin:$PATH make
           posix_configure_flags:
             --enable-silent-rules --enable-python --enable-zlib --enable-snappy
      -      --enable-strict --enable-static
      +      --enable-strict --enable-static --enable-diagnostic
         tasks:
           - name: compile
           - name: cppsuite-hs-cleanup-stress 

      Definition of Done:

      • Asserts are working
      • Run all the existing tests and see if it affects their performance
        • Fix them if it does

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

              Created:
              Updated:
              Resolved: