Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-3560

Add more comprehensive testing for compression methods

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Unknown 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

            Assignee:
            Unassigned Unassigned
            Reporter:
            neal.beeken@mongodb.com Neal Beeken
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: