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

Create tests for ServiceEntryPointShardRole

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Programmability
    • Fully Compatible
    • Programmability 2024-09-30, Programmability 2024-10-14, Programmability 2024-10-28

      We should add the following tests for ServiceEntryPointShardRole:

      • Tests for parsing behavior
      • Message failing parse logs "Assertion while parsing command" and generates the right error response
      • Tests for command selection
      • Message with invalid command name logs "Assertion while executing command" andĀ  generates the right error response
      • Tests for response generationĀ 
      • Tests for appending information to the response
      • Append error labels and topology version information
      • Append cluster and operation time
      • Tests for opCtx storing maxTimeMS behavior
      • maxTimeMS behavior for getMores
      • Tests for exception behavior in various areas of ServiceEntryPoint
      • Tests for RunCommandOpTimes tracking
      • Test for command retry working as expected
      • Tests for failure cases preventing command retry
      • Tests for ReadConcern extraction
      • Tests for database refresh and errors during database refresh

            Assignee:
            alex.li@mongodb.com Alex Li
            Reporter:
            ryan.berryhill@mongodb.com Ryan Berryhill
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: