Fail to compile when tassert/uassert integer arguments are swapped

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Server Programmability
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Summary

      Background: SERVER-133529 fixed a bug where the parameter order of a tassert was mixed up. This resulted in the tassert silently always passing.

      Proposed solution: The request is to catch such issues in bazel lint.

      Requirements

      Impact

      Avoids similar issues going forward.

            Assignee:
            Guillaume Racicot
            Reporter:
            Evan Bergeron
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: