WiredTiger error messages hardcoded into Server tests

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2022-04-18
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      There are places the MongoDB Server test harness looks for explicit, hard-coded error messages from WiredTiger, which is more fragile than it should be, it would be great to not depend on specific error message wording:

      src/mongo/db/storage/kv/kv_engine_test_harness.cpp:invariant(false, "commit timestamp is less than the oldest timestamp");
      invariant(false, "commit timestamp is less than the stable timestamp");
      

              Assignee:
              Jordi Olivares Provencio
              Reporter:
              Keith Bostic (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: