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

Increase assertEventDoesNotWakeCursor getMore timeout in only_wake_getmore_for_relevant_changes.js

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.4, v4.2, v4.0
    • Sprint:
      Query 2020-06-15
    • Linked BF Score:
      20

      Description

      In only_wake_getmore_for_relevant_changes.js, a function called assertEventDoesNotWakeCursor is used to verify that a $changeStream getMore does not prematurely return if an unrelated change is written into the oplog. However, the getMore only waits for new data for 1 second, which makes this test sensitive to slow hosts. We should increase the duration of the getMores issued by assertEventDoesNotWakeCursor to perhaps 5 or 10 seconds.

        Attachments

          Activity

            People

            Assignee:
            bernard.gorman Bernard Gorman
            Reporter:
            bernard.gorman Bernard Gorman
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: