expedite slow test cases in remote_command_retry_scheduler_test.cpp

    • Type: Task
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Networking & Observability
    • 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:
            Unassigned
            Reporter:
            David Goffredo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: