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

Add more leniency to timing assertion in awaitdata_getmore_cmd.js

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.0-rc2
    • Component/s: Aggregation Framework
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Query 2017-10-23, Query 2017-11-13
    • Linked BF Score:
      0

      Description

      This assertion is relying on a condition variable to not wake up until the deadline has passed, but the condition_variable::wait_for() method is allowed to wake up prematurely. We should relax the assertion to allow for an early wake up.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: