[DRIVERS-2794] Update $listSearchIndexes test in Search index tests to create a database Created: 12/Dec/23  Updated: 02/Jan/24

Status: Backlog
Project: Drivers
Component/s: Index Management
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Boris Dogadov Assignee: Boris Dogadov
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by CSHARP-4736 Enable Atlas Search Index management ... Blocked
Related
related to CSHARP-4736 Enable Atlas Search Index management ... Blocked
related to SERVER-83003 $listSearchIndexes should throw on no... Closed
is related to DRIVERS-2797 Search index management operations fa... Implementing
Driver Changes: Needed - No Spec Changes

 Description   

Summary

$listSearchIndexes tests expect to fail with "Search index commands are only supported with Atlas". On servers lower than 7.2 this error is not raised when database does not exist. (Fixed in SERVER-83003 on 7.2+)

Need to update min version to 7.2 or add database creation.

Motivation

Who is the affected end user?

Driver tests

How does this affect the end user?

Not affected

How likely is it that this problem or use case will occur?

Edge case

If the problem does occur, what are the consequences and how severe are they?

No consequences 

Is this issue urgent?

No

Is this ticket required by a downstream team?

No

Is this ticket only for tests?

Only for tests

Acceptance Criteria

What specific requirements must be met to consider the design phase complete?



 Comments   
Comment by Boris Dogadov [ 20/Dec/23 ]

keana.moutra@mongodb.com yes, I can pick this up.

Comment by KeAna Moutra [ 19/Dec/23 ]

boris.dogadov@mongodb.com could you work on this? Based on Drivers Triage, Kevin has not seen it fail this way on C

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