Audit repl unittests to make sure we are not using malformed BSON

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Replication
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      There are some unittests using a malformed BSONObj that actually don't test the right thing. For example, OpTime is formed using "term" and "ts" in this file, which is not correct and the arg is not being parsed correctly.

      We should audit our unittests to see if there are similar errors.

       

            Assignee:
            [DO NOT USE] Backlog - Replication Team
            Reporter:
            Jiawei Yang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: