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

read_and_write_distribution.js is racy

    • Query Execution
    • Fully Compatible
    • ALL
    • v8.0, v7.0
    • 0

      The test uses the configureQueryAnalyzer to turn sampling on, run some commands, then turn it off with configureQueryAnalyzer, then waits for the samples to get flushed. The problem is that samples are recorded asynchronously so it is possible for the sampler to get turned off too early, before it has actually collected all the samples the test wanted to take.

      To make the test fail, simply add a sleep around here.

            Assignee:
            parker.felix@mongodb.com Parker Felix
            Reporter:
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: