File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
tests/MongoDB.Driver.Tests/Search Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ public AtlasSearchTests(ITestOutputHelper testOutputHelper) : base(testOutputHel
66
66
var mongoClientSettings = MongoClientSettings . FromConnectionString ( atlasSearchUri ) ;
67
67
mongoClientSettings . ClusterSource = DisposingClusterSource . Instance ;
68
68
69
- _mongoClient = new MongoClient ( atlasSearchUri ) ;
69
+ _mongoClient = new MongoClient ( mongoClientSettings ) ;
70
70
}
71
71
72
72
protected override void DisposeInternal ( ) => _mongoClient . Dispose ( ) ;
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ public VectorSearchTests(ITestOutputHelper testOutputHelper) : base(testOutputHe
43
43
var mongoClientSettings = MongoClientSettings . FromConnectionString ( atlasSearchUri ) ;
44
44
mongoClientSettings . ClusterSource = DisposingClusterSource . Instance ;
45
45
46
- _mongoClient = new MongoClient ( atlasSearchUri ) ;
46
+ _mongoClient = new MongoClient ( mongoClientSettings ) ;
47
47
}
48
48
49
49
protected override void DisposeInternal ( ) => _mongoClient . Dispose ( ) ;
You can’t perform that action at this time.
0 commit comments