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

Create targeted tests for command de/serialization

    • Fully Compatible
    • Server Serverless 2023-06-26, Server Serverless 2023-07-10, Server Serverless 2023-07-24, Server Serverless 2023-08-07
    • 154
    • 3

      After the logic exists to serialize and deserialized based on command context, we need to build targeted tests to test this functionality.  This will initially only exist for IDL-generated commands, which we should only need to modify existing tests to adjust for the updated output.

      We also need to write tests that test the expectPrefix functionality that was built in SERVER-70740.  We can probably focus on just a couple commands and validate the output for when we provide an expectPrefix == true, == false, and <missing>.
      We should also write tests that run commands with both a prefix and $tenant.

      There may be some risk in this ticket as tests may uncover issues introduced in previous tickets.

            Assignee:
            hugh.tong@mongodb.com Hugh Tong (Inactive)
            Reporter:
            hugh.tong@mongodb.com Hugh Tong (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: