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

Fix binary string input in AllZerosTypeBits unit test

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor - P4 Minor - P4
    • 5.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2021-09-06

    Description

      The second test case creates an empty BufReader as the BufReader size is mistakenly set to zero, this effectively ends up exercising the same path as the first test case.

      An additional issue is that we feed a string of ASCII zeroes, while we actually actually mean to feed a string of binary zeroes.

      Attachments

        Activity

          People

            josef.ahmad@mongodb.com Josef Ahmad
            josef.ahmad@mongodb.com Josef Ahmad
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: