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.
Add all Network Error Code Strings to List of Strings isNetworkError() Looks For In Exception Message
- Votes:
-
0 Vote for this issue
- Watchers:
-
3 Start watching this issue
- Created:
- Updated:
- Resolved: