[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?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 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

Generated at Thu Feb 08 08:35:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.