Move analyze histograms coverage into its own tagged test file

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible
    • ALL
    • SESI(ノಥ益ಥ)ノ ┻━┻ 2026-08-11, SESIRuby4Prezident 2026-08-25
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      jstests/noPassthrough/query/analyze_command_histograms.js fails on any build variant that injects failpoint.* values through --mongodSetParameters.

       

      The validateHistogramsModeFailsWhenTestCommandsDisabled() sub-test starts a second mongod with TestData.enableTestCommands = false. The shell then omits --setParameter enableTestCommands=1 (src/mongo/shell/servers.js) but still forwards the suite-level setParameters from the variant's test_flags, including the two failpoint.* values.

      Failpoints are only registered as server parameters when test commands are enabled (registerAllFailPointsAsServerParameters() in so startup fails with BadValue and the test aborts with MongoRunner.StopError.

      Split and move the subtest in analyze_command_histograms

            Assignee:
            Henri Nikku
            Reporter:
            Ruby Chen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: