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

CheckReplDBHash testing hook should check document type (resmoke.py)

    • Fully Compatible
    • ALL
    • TIG E (01/08/16), TIG F (01/29/16)
    • 0

      Instead of doing

      primary_doc == secondary_doc #hooks.py
      

      to compare 2 documents, we should check that each field is of the same type. We could miss things like:

      >>> -9.223372036854776e+18 == -9223372036854775808
      True
      

            Assignee:
            michael.grundy Michael Grundy
            Reporter:
            robert.guo@mongodb.com Robert Guo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: