Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-1954

Integration test for exceptions referencing second attempt's server for retryable operations

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.11.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible

      We recently added logging of the server on which operation was performed, when operations fail. To ensure the proper server is logged, we should also have an integration test that verifies that when a retryable operation fails the second time, the server mentioned in the exception message is the one used in the second attempt.

      The same test can also verify that both initial and retry attempt's servers' descriptions are reset to unknown.

            Assignee:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: