[SERVER-59645] Fix binary string input in AllZerosTypeBits unit test Created: 27/Aug/21  Updated: 29/Oct/23  Resolved: 01/Sep/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.1.0-rc0

Type: Bug Priority: Minor - P4
Reporter: Josef Ahmad Assignee: Josef Ahmad
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Execution Team 2021-09-06
Participants:

 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.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 01/Sep/21 ]

Author:

{'name': 'Josef Ahmad', 'email': 'josef.ahmad@mongodb.com', 'username': 'josefahmad'}

Message: SERVER-59645 Fix binary string input in AllZerosTypeBits unit test
Branch: master
https://github.com/mongodb/mongo/commit/f450a37df1b36778da233dced75242e912bcc9dd

Generated at Thu Feb 08 05:47:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.