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

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

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.2.6, 3.3.5
    • Affects Version/s: None
    • Component/s: Security
    • Fully Compatible
    • Query 13 (04/22/16)
    • 0

      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.

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

              Created:
              Updated:
              Resolved: