[CXX-1323] Improve performance of "Cursor iteration" test Created: 17/Apr/17  Updated: 21/Apr/17  Resolved: 21/Apr/17

Status: Closed
Project: C++ Driver
Component/s: Implementation, Testing
Affects Version/s: None
Fix Version/s: 3.2.0-rc0

Type: Task Priority: Major - P3
Reporter: J Rassi Assignee: J Rassi
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

The "k_tailable_await" section of the "Cursor iteration" test executes in 6 seconds. This is not ideal, since the remainder of a "make test" run executes in ~3 seconds. To improve developer productivity, we should improve the performance of this test.



 Comments   
Comment by Githook User [ 21/Apr/17 ]

Author:

{u'username': u'jrassi', u'name': u'J. Rassi', u'email': u'rassi@10gen.com'}

Message: CXX-1323 Set max_await_time on cursor in "Cursor iteration" test case

This reduces the execution time of `make test` from ~9 seconds to ~3
seconds.
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/b096ca3ee8e008adc3042533523b889f6f1a50fd

Generated at Wed Feb 07 22:02:11 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.