Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-87297

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

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

      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:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            jiawei.yang@mongodb.com Jiawei Yang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: