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

Avoid using rawMongoProgramOutput() in js_protection.js and js_protection_roundtrip.js

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • 3.2.6, 3.3.5
    • Security
    • Fully Compatible
    • Query 13 (04/22/16)
    • 0

    Description

      Until SERVER-22992 is implemented, rawMongoProgramOutput() isn't guaranteed to return the full output of the process, even after the process has exited. The assertions about the operations in the other mongo shells started in js_protection.js and js_protection_roundtrip.js can be done based on the return code of the process, rather than its output. Doing so will improve the reliability of these tests.

      Attachments

        Issue Links

          Activity

            People

              max.hirschhorn@mongodb.com Max Hirschhorn
              max.hirschhorn@mongodb.com Max Hirschhorn
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: