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

Fix binary string input in AllZerosTypeBits unit test

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1.0-rc0
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      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

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

              Dates

              Created:
              Updated:
              Resolved: