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

XMLWordPrintableJSON

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

      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 (Inactive)
              Reporter:
              Robert Guo (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: