Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-2704

cursorsUnknown not asserted in command monitoring tests

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: Tests
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The 3.0 and lower servers have a command monitoring test which issues a find-getmore-killcursors combination.

      The cursorsUnknown field of the reply isn't asserted by the test runner.

      Test in question: find.yml in command_monitoring.

            -
              command_succeeded_event:
                reply:
                  ok: 1.0
                  cursorsUnknown:
                    - { $numberLong: "42" }
                command_name: "killCursors"
      

      Changing the contents under cursorsUnknown doesn't fail the test.

            Assignee:
            Unassigned Unassigned
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: