Operational Defect Database

BugZero found this defect 30 days ago.

MongoDB | 2648429

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

Last update date:

4/19/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

No fixed releases provided.

Description:

Info

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.

Top User Comments


Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Needs Scheduling

Learn More

Search:

...