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

Add all Network Error Code Strings to List of Strings isNetworkError() Looks For In Exception Message

    • Cluster Scalability
    • Fully Compatible
    • ALL
    • v8.0, v7.3, v7.0, v6.0, v5.0
    • Cluster Scalability 2024-4-29
    • 143

      The isNetworkError() function does not look for all of the possible network error code strings (such as "HostUnreachable") in an exception message. As a result, the function can possibly incorrectly return that an exception is not a network error when it in fact is. This can then result in flaky tests for tests that rely on the isNetworkError() function. See BF-32698 as an example.

            Assignee:
            wenqin.ye@mongodb.com Wenqin Ye
            Reporter:
            wenqin.ye@mongodb.com Wenqin Ye
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: