-
Type: Task
-
Resolution: Unresolved
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: Testing
Use Case
As a driver engineer
I want a test that manually round trips documents through all our supported compression methods
So that I have confidence we don't introduce bugs surrounding compression.
User Impact
*What is the number of impacted customers? How severe is the impact? Is anyone blocked or broken?
- Anyone using compression, I believe we plan to introduce more compression methods, we should have a way of easily testing any method.
Dependencies
- mongodb-mock-server - We shouldn't need to test against a real mongodb, (although we can), the mock server currently doesn't expose a way to hook into the place where messages are read from the wire. Maybe this is an opportunity to bring that dep into our main repo and add the hook needed to verify compression.
- Snappy, Zlib Zstd
Unknowns
- None
Acceptance Criteria
Implementation Requirements
- Test roundtripping BSON through compression methods via the driver APIs
Documentation Requirements
- None
Follow Up Requirements
- None
- related to
-
NODE-3960 Add missing compression spec test coverage
- Backlog