Change expected responses of {upsert: true} tests in updateOne_without_shard_key_basic.js

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Sharding NYC 2023-05-29
    • 1
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      These replacement style upserts should not include the query in the resulting document. True database response is correct, the testing framework only checks the first element of the document in `expectedResponse`, which is why the test isn't failing.

      https://github.com/mongodb/mongo/blob/0249b20d05c58ceb47375413e9eb47e028859489/jstests/sharding/updateOne_without_shard_key/updateOne_without_shard_key_basic.js#L384-L416

            Assignee:
            Sanika Phanse (Inactive)
            Reporter:
            Sanika Phanse (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: