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

Create tests for ServiceEntryPoints

    • 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-09-30

      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

       

      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:
            2 Start watching this issue

              Created:
              Updated: