-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
Background & Motivation
Tests inspecting the error messages from errors generated from server failpoints have started failing.
Here is an example patch build with the relevant logs:
[2021/08/07 19:29:33.632] Begin /Stepdown/not_primary_keep, seed 906424260 [2021/08/07 19:29:44.150] /data/mci/52458960e8d51b5963f8094388de54a6/mongoc/src/libmongoc/tests/test-mongoc-primary-stepdown.c:245 test_not_primary_keep_pool(): [Failing command via 'failCommand' failpoint] does not contain [Failing command due to 'failCommand' failpoint]
This is due to the changes in SERVER-57040 which change the message of the failpoint error reply.
Drivers should prefer not relying on error messages. The server does not guarantee stable error messages.
Scope
Update failing tests that are inspecting failpoint error messages. Remove or update the error message check.
- is caused by
-
SERVER-57040 Add a test-only command to trigger a tripwire assertion
- Closed