read_and_write_distribution.js is racy

XMLWordPrintableJSON

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

      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
            Reporter:
            Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: