Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-4756

Query cache tests do not test that QC is used

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 7.2.0.rc1
    • Affects Version/s: None
    • Component/s: 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@mongodb.com Emily Giurleo (Inactive)
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: