expedite slow test cases in remote_command_retry_scheduler_test.cpp

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Minor - P4
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Programmability
    • Fully Compatible
    • Programmability 2025-09-01, Programmability 2025-09-15, Programmability 2025-09-29
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-108326 made some modifications to the RemoteCommandRetrySchedulerTest.Make* test cases that increased their runtime significantly.

      This might be do to the fact that we iterate over 10,171,600 possible error codes, doing at least some work for each.

      It would be better to generate a test-only "for each ____ error code" functions, or otherwise somehow get these test cases to run in milliseconds instead of in seconds.

            Assignee:
            Billy Donahue
            Reporter:
            David Goffredo
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: