printShardingStatus.js races with ShardingUptimeReporter thread

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • v4.0, v3.6
    • 16
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Test checks for entries in config.mongos which are populated on a background thread by ShardingUptimeReporter and can miss some expected entries if it checked too soon. It's easy to make a test fail by simply putting a sleep inside the background thread.

              Assignee:
              Randolph Tan
              Reporter:
              Randolph Tan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: