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

Fix binary string input in AllZerosTypeBits unit test

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Execution Team 2021-09-06

      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.

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

              Created:
              Updated:
              Resolved: