[GODRIVER-247] Add change stream test with induced server error Created: 15/Feb/18 Updated: 27/Oct/23 Resolved: 24/Jul/20 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | CRUD, Testing |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Samuel Rossi (Inactive) | Assignee: | Unassigned |
| Resolution: | Gone away | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Epic Link: | GODRIVER Testing |
| Description |
|
We currently don't have a good way of inducing a server error in the Go driver, which makes checking that a change stream doesn't resume on a server error somewhat difficult. One possible solution is to mock test the functionality rather than running it on an actual server. Either way, some time after change streams land, we should decide on a method and use it to implement the test. |