[GODRIVER-1172] Add test to ensure that tailable cursors loop until a result is available Created: 28/Jun/19 Updated: 10/Apr/23 Resolved: 10/Apr/23 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | CRUD |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Kristofer Brandow (Inactive) | Assignee: | Matt Dale |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Documentation Changes Summary: | 1. What would you like to communicate to the user about this feature? |
| Description |
|
Add a test that ensures that a tailable cursor in the mongo package loops until a document is returned. |
| Comments |
| Comment by Matt Dale [ 10/Apr/23 ] |
|
This is covered by the test case here: https://github.com/mongodb/mongo-go-driver/blob/fc24f61ff40fa650a51fa735e2697a6565c47bf8/mongo/integration/cursor_test.go#L66-L84 |