[CDRIVER-3655] Tests checking for "ns not found" must check for a substring Created: 06/May/20  Updated: 28/Oct/23  Resolved: 06/May/20

Status: Closed
Project: C Driver
Component/s: tests
Affects Version/s: None
Fix Version/s: 1.17.0-beta2, 1.17.0

Type: Bug Priority: Major - P3
Reporter: Kevin Albertson Assignee: Kevin Albertson
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
is caused by SERVER-37726 Make dropIndexes abort in-progress in... Closed
Related
is related to SERVER-41365 Improve unhelpful error "ns not found" Closed

 Description   

SERVER-41365 changed the error message from "ns not found"  to the include more information, like: "Namespace db.foo does not exist (ns not found)"

We have tests that check for the exact error message "ns not found". Those need to be updated to check for a substring.



 Comments   
Comment by Githook User [ 31/May/20 ]

Author:

{'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}

Message: CDRIVER-3655 handle new 'ns not found' err format
Branch: r1.16
https://github.com/mongodb/mongo-c-driver/commit/4cc8f8833c5d9138ec53bf38b8f6b89567436eca

Comment by Githook User [ 25/May/20 ]

Author:

{'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}

Message: CDRIVER-3655 handle new 'ns not found' err format
Branch: r1.17
https://github.com/mongodb/mongo-c-driver/commit/fe864088843e040657087b148648a30f427a99fb

Comment by Githook User [ 06/May/20 ]

Author:

{'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}

Message: CDRIVER-3655 handle new 'ns not found' err format
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/f8cc1ca3699c268a48b49c5f11fdb2eaaf24661c

Comment by Kevin Albertson [ 06/May/20 ]

PR: https://github.com/mongodb/mongo-c-driver/pull/603

Generated at Wed Feb 07 21:18:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.