Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/MongoDB.Driver.Tests/Search/AtlasSearchTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public AtlasSearchTests(ITestOutputHelper testOutputHelper) : base(testOutputHel
var mongoClientSettings = MongoClientSettings.FromConnectionString(atlasSearchUri);
mongoClientSettings.ClusterSource = DisposingClusterSource.Instance;

_mongoClient = new MongoClient(atlasSearchUri);
_mongoClient = new MongoClient(mongoClientSettings);
}

protected override void DisposeInternal() => _mongoClient.Dispose();
Expand Down
2 changes: 1 addition & 1 deletion tests/MongoDB.Driver.Tests/Search/VectorSearchTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public VectorSearchTests(ITestOutputHelper testOutputHelper) : base(testOutputHe
var mongoClientSettings = MongoClientSettings.FromConnectionString(atlasSearchUri);
mongoClientSettings.ClusterSource = DisposingClusterSource.Instance;

_mongoClient = new MongoClient(atlasSearchUri);
_mongoClient = new MongoClient(mongoClientSettings);
}

protected override void DisposeInternal() => _mongoClient.Dispose();
Expand Down
Loading