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

    • Type: Task
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.6, 3.3.5
    • Component/s: Security
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Backport Completed:
    • Sprint:
      Query 13 (04/22/16)
    • Linked BF Score:
      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

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: