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

error_propagation.js checks for the wrong error message.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.4
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Query 12 (04/04/16)
    • Linked BF Score:
      0

      Description

      In the commit that introduced the $type expression (https://github.com/mongodb/mongo/commit/a9d3450f9a40c6ef02b5713c9f0841aa424a327a), typeName output was changed, breaking error_propagation.js, which checks the text of an error message. We should either change the string the error message is checked against, or make the test check the error code instead of message.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: