Query cache tests do not test that QC is used

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor - P4
    • 7.2.0.rc1
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      https://jira.mongodb.org/browse/MONGOID-4521 added several tests that claim to check whether query cache is used when a multi-batch cursor is iterated. However these tests have result assertions only and may pass regardless of whether the underlying queries are fulfilled from query cache (assuming the cache was filled previously) or were sent to the database.

            Assignee:
            Emily Giurleo (Inactive)
            Reporter:
            Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: