[SERVER-19473] create a test that blocks waiting for a snapshot to be created and then verify that that snapshot is read from Created: 17/Jul/15 Updated: 01/Sep/15 Resolved: 01/Sep/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 3.1.5 |
| 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 | ||
| Issue Links: |
|
||||||||
| Sprint: | Quint Iteration 7 | ||||||||
| Participants: | |||||||||
| Description |
|
One way to do this could be:
|
| Comments |
| Comment by Matt Dannenberg [ 01/Sep/15 ] |
|
The current testing infrastructure does not allow for this. If we have a blocked read in a parallel shell, we cannot check the result of that read. If we block the read in the main shell and have a parallel shell do the insert, snapshot, and delete, we cannot ensure we read from the snapshot rather than prior to its creation nor can we ensure that we start the read and block before the snapshot is created. |