[GODRIVER-2315] Fix tests that expect errors on capped collection deletes Created: 17/Feb/22  Updated: 28/Oct/23  Resolved: 22/Feb/22

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

Type: Bug Priority: Major - P3
Reporter: Benji Rewis (Inactive) Assignee: Benji Rewis (Inactive)
Resolution: Fixed Votes: 0
Labels: greenerbuild
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-63201 Relax restriction of deletion ops in ... Closed

 Description   

SERVER-63201 recently allowed deletes on capped collections in the latest server versions (5.3). Some of our tests in integration/collection_test.go expect server-side write errors when running a delete operation against a capped collection. We should update these tests to only run against 5.2- and add new tests to ensure that deletes on capped collections are allowed on 5.3+.



 Comments   
Comment by Githook User [ 04/May/22 ]

Author:

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

Message: GODRIVER-2315 Further restrict tests that expect errors with capped collection deletes. (#930)
Branch: release/1.9
https://github.com/mongodb/mongo-go-driver/commit/5ff0eb5ea2f7bcf660f2a671ffaeb1d5d478228d

Comment by Githook User [ 04/May/22 ]

Author:

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

Message: GODRIVER-2315 Further restrict tests that expect errors with capped collection deletes. (#930)
Branch: release/1.8
https://github.com/mongodb/mongo-go-driver/commit/497afc9de6d0fb64b4ba03b022f296acebfbc86d

Comment by Githook User [ 04/May/22 ]

Author:

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

Message: GODRIVER-2315 Further restrict tests that expect errors with capped collection deletes. (#930)
Branch: cloud-1.7.1
https://github.com/mongodb/mongo-go-driver/commit/21387b76a76b5bdcaeab5f37cc95e74d402dc889

Comment by Githook User [ 02/May/22 ]

Author:

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

Message: GODRIVER-2315 Further restrict tests that expect errors with capped collection deletes. (#930)
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/e61044aad58efe7e74045ea5f866f62df4b2dabd

Comment by Githook User [ 01/Mar/22 ]

Author:

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

Message: GODRIVER-2315 Update tests that expect errors with capped collection deletes (#854)
Branch: cloud-1.7.1
https://github.com/mongodb/mongo-go-driver/commit/d06c986192e3ed92091f373b0f8c9ee17222f765

Comment by Githook User [ 01/Mar/22 ]

Author:

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

Message: GODRIVER-2315 Update tests that expect errors with capped collection deletes (#854)
Branch: release/1.8
https://github.com/mongodb/mongo-go-driver/commit/5477be644a55ce137dec639e57d300d671e5300c

Comment by Benji Rewis (Inactive) [ 22/Feb/22 ]

Fix version is sort of irrelevant here, as changes above are only to tests in our CI.

Comment by Githook User [ 22/Feb/22 ]

Author:

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

Message: GODRIVER-2315 Update tests that expect errors with capped collection deletes (#854)
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/723f7d7100a471e1dcb30e19baff146e35c677f9

Comment by Benji Rewis (Inactive) [ 17/Feb/22 ]

https://github.com/mongodb/mongo-go-driver/pull/854

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