Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-957

Is the "command.json" command monitoring test supposed to be named "count.json"?

    XMLWordPrintableJSON

Details

    Description

      The command.json file only specifies tests for the "count" command, but it uses the "filter" argument from the crud spec (instead of the "query" parameter from the actual command). This seems to indicate that this file isn't testing a generic command helper as its name suggests but rather the count helper method. If that's the case, the file should be renamed to indicate so, and its tests should be updated to use the new estimatedDocumentCount and countDocuments helpers (and mark the count variants deprecated).

      Attachments

        Activity

          People

            Unassigned Unassigned
            patrick.freed@mongodb.com Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: