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

add legacy shell --quiet test

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 6.2.0-rc0
    • Logging
    • None
    • Fully Compatible
    • Security 2022-11-14, Security 2022-11-28

    Description

      Internally within MongoDB we have several scripts that make use of the legacy shell and parse its output. The scripts use the --quiet command line parameter to stop the shell from intermixing log output with the output from javascript execution.
      The behavior of --quiet is fairly brittle and is easy to unintentionally break. To help mitigate this, it would be useful to add a simple Javascript test that runs the shell with --quiet and ensures that the output contains no extra log lines.

      Attachments

        Issue Links

          Activity

            People

              shreyas.kalyan@mongodb.com Shreyas Kalyan
              milkie@mongodb.com Eric Milkie
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: