[SERVER-14487] replace ReplSetTest::CappedInitialSync Created: 07/Jul/14 Updated: 14/Apr/16 Resolved: 16/Oct/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Testing Infrastructure |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Matt Dannenberg | Assignee: | Matt Dannenberg |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | RPL A (10/09/15), Repl B (10/30/15) |
| Participants: |
| Description |
|
ensures an update where the initial object does not exist fails to apply and then that the Sync object should not attempt to retry original test source: https://github.com/mongodb/mongo/commit/1e4a71eb26808a828fff29ada663a7c43e0bdd9f |
| Comments |
| Comment by Matt Dannenberg [ 16/Oct/15 ] |
|
After some investigation, I've determined we cannot rebuild these tests. It turns out that much of what the tests look at is the impact on the datalayer from applying ops via SyncTail. It would be nice to maintain coverage of shouldRetry(). We would like to test that when the original document is absent on our sync source, shouldRetry() returns false, but our current SyncTail tests do not have a mechanism to create a mock remote oplog, which is necessary for when shouldRetry() calls into getMissingDoc(). |