Increase assertEventDoesNotWakeCursor getMore timeout in only_wake_getmore_for_relevant_changes.js

XMLWordPrintableJSON

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

      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
              Reporter:
              Bernard Gorman
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: