-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Error Handling
Detailed steps to reproduce the problem?
Can repro in the drivers package:
func TestTwiceError(t *testing.T) {
inner := errors.New("connection(host:27017[-1] incomplete read of message header")
err := Operation{}.networkError(inner)
require.Equal(t, strings.Count(err.Error(), inner.Error()), 1)
}
Definition of done: what must be done to consider the task complete?
- Message appears only once with no leading space
- Unit test covering it
- is related to
-
GODRIVER-4074 InsertMany/BulkWrite/collection.Find fail with duplicated "incomplete read of message header: context deadline exceeded" error in both (v1 and v2)
-
- Closed
-