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

Create tests for ServiceEntryPointRouterRole

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Programmability
    • Programmability 2024-11-11, Programmability 2024-11-25

      We should add the following tests for ServiceEntryPointRouterRole:

      • Tests for parsing behavior
      • Message failing parse logs "Exception thrown 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 exception behavior in various areas of ServiceEntryPoint
      • Test for command retry working as expected
      • Tests for failure cases preventing command retry
      • Tests for ReadConcern extraction

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

              Created:
              Updated: