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

Unskip count spec tests

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: Testing

      Use Case

      !spec.description.match(/Count with deterministic encryption/)
      This line in test/functional/client_side_encryption/spec.test.js skips the count documents test because currently the tests check that the operation performed is a count op. Count documents is now performed using aggregation, so it still works as expected, just the underlying operation type doesn't match.

      Dependencies

      • Spec test test/spec/client-side-encryption/tests/count.json
      • Spec test test/spec/retryable-reads/count.json
      • Spec test test/spec/transactions/count.json
      • Spec test test/spec/command-monitoring/legacy/command.json

      Unknowns

      • Can we accept both count/aggregation as the operation type?

      Acceptance Criteria

      Implementation Requirements
      • A passing count documents spec test
      Documentation Requirements
      • None
      Follow Up Requirements
      • Inquire about this affecting other drivers and maybe there should be a change to the spec test itself.

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

              Created:
              Updated: