Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-45299

Add asserts in client_metadata_slowlog_rs.js

    • Fully Compatible
    • v4.4
    • Security 2020-03-23, Security 2020-04-06
    • 9

      client_metadata_slowlog_rs.js issues slow queries and asserts that slow query log entries show up. However, the queries themselves don't assert that they work. Further, they use $where to ensure they take a while. We should:
      1) Assert that the queries return the expected results
      2) Use failpoints to trigger slow behavior.

            Assignee:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Reporter:
            spencer.jackson@mongodb.com Spencer Jackson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: