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

    • Fully Compatible
    • v4.4, v4.2, v4.0
    • Query 2020-06-15
    • 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

            bernard.gorman@mongodb.com Bernard Gorman
            bernard.gorman@mongodb.com Bernard Gorman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: