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

Increase assertEventDoesNotWakeCursor getMore timeout in only_wake_getmore_for_relevant_changes.js

    • Fully Compatible
    • v4.4, v4.2, v4.0
    • Query 2020-06-15
    • 20

      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.

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

              Created:
              Updated:
              Resolved: