Skip to content

Commit 9603066

Browse files
authored
CSHARP-5778: Fix atlas-search-index-helpers-test (#1809)
Turns out that the version on Evergreen is 8.0.16, while the version I have locally is 8.2.1. The exact exception message content is different between the two. I have tested this with a patch on Evergreen. There does not appear to be a way to specify the minor version for an Atlas deployment in Evergreen.
1 parent ced1e3a commit 9603066

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/MongoDB.Driver.Tests/Search/AtlasSearchIndexManagmentTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ public async Task Case8_driver_requires_explicit_type_to_create_vector_search_in
253253
: Record.Exception(() => _collection.SearchIndexes.CreateOne(
254254
new CreateSearchIndexModel(indexName, _vectorIndexDefinition).Definition, indexName));
255255

256-
exception.Message.Should().Contain("Command createSearchIndexes failed: \"userCommand.indexes[0].mappings\" is required.");
256+
exception.Message.Should().Contain("Command createSearchIndexes failed");
257257
}
258258

259259
[Theory(Timeout = Timeout)]

0 commit comments

Comments
 (0)