java-shell tests have been silently failing

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Critical - P2
    • vNext
    • Affects Version/s: None
    • Component/s: Java Shell
    • None
    • Not Needed
    • Developer Tools

      https://github.com/mongodb-js/mongosh/blob/7bdcb31684194a97be31ecdb3e0a9d032c6c0196/packages/java-shell/src/test/js/run-tests.ts#L35 does not fail if the exit code is non-zero, which it should. The tests have been printing errors to stderr in CI but have not been causing the CI jobs to fail.

            Assignee:
            Anna Henningsen
            Reporter:
            Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: