Add asserts in client_metadata_slowlog_rs.js

XMLWordPrintableJSON

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

      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
            Reporter:
            Spencer Jackson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: