When running the failpoint tests on a replica set, it's possible for a race condition to exist in a find here. We will catch the exception a couple of lines above, but we can't verify with 100% accuracy that the write will have succeeded before the find is executed. To solve this race condition, we can change the assert.eq to an assert.soon.
Fix race condition in retryable writes test
- Assignee:
-
Blake Oler
- Reporter:
-
Blake Oler
- Votes:
-
0 Vote for this issue - Watchers:
-
2 Start watching this issue
- Created:
- Updated:
- Resolved: