[GODRIVER-2248] Improve bulkwrite update with batches test performance Created: 01/Dec/21  Updated: 01/Mar/22  Resolved: 04/Jan/22

Status: Closed
Project: Go Driver
Component/s: Testing
Affects Version/s: None
Fix Version/s: 1.8.4

Type: Improvement Priority: Minor - P4
Reporter: Benji Rewis (Inactive) Assignee: Benji Rewis (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to GODRIVER-1858 Improve bulkwrite batch test performance Closed
Epic Link: Improve Developer Effectiveness
Quarter: FY22Q4
Documentation Changes: Not Needed

 Description   

Even after bumping the global test timeout to 30 minutes, we're still seeing numerous test timeouts on MacOS variants across our Evergreen projects. The guilty test is TestCollection/bulk_write/update_with_batches. In GODRIVER-1858, we updated the similar TestCollection/bulk_write/insert_and_delete_with_batches to mock responses from the server in order to increase performance. We should do the same thing for the update_with_batches test to get MacOS tests passing.



 Comments   
Comment by Githook User [ 01/Mar/22 ]

Author:

{'name': 'Benjamin Rewis', 'email': '32186188+benjirewis@users.noreply.github.com', 'username': 'benjirewis'}

Message: GODRIVER-2248 Use mock deployment for slow BulkWrite update test (#827)
Branch: cloud-1.7.1
https://github.com/mongodb/mongo-go-driver/commit/7894d891eff7514270a1325f3822e5f806950678

Comment by Githook User [ 01/Mar/22 ]

Author:

{'name': 'Benjamin Rewis', 'email': '32186188+benjirewis@users.noreply.github.com', 'username': 'benjirewis'}

Message: GODRIVER-2248 Use mock deployment for slow BulkWrite update test (#827)
Branch: release/1.8
https://github.com/mongodb/mongo-go-driver/commit/dcd54844f99c4dc0dcbe858403eebae4fd7a76fd

Comment by Githook User [ 04/Jan/22 ]

Author:

{'name': 'Benjamin Rewis', 'email': '32186188+benjirewis@users.noreply.github.com', 'username': 'benjirewis'}

Message: GODRIVER-2248 Use mock deployment for slow BulkWrite update test (#827)
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/384560d7efa96ed08030bf1eaebba0230776b82f

Comment by Benji Rewis (Inactive) [ 14/Dec/21 ]

https://github.com/mongodb/mongo-go-driver/pull/827#pullrequestreview-831964609

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