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

error_propagation.js checks for the wrong error message.

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.4
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Query 12 (04/04/16)
    • 0

      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.

            Assignee:
            benjamin.murphy Benjamin Murphy
            Reporter:
            benjamin.murphy Benjamin Murphy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: