Skip to content

Commit 6612755

Browse files
committed
CSHARP-2626: Work around SERVER-41532.
1 parent ece1840 commit 6612755

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/MongoDB.Driver.Tests/Specifications/Runner/MongoClientJsonDrivenTestRunnerBase.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
using MongoDB.Bson.TestHelpers.JsonDrivenTests;
2323
using MongoDB.Driver.Core;
2424
using MongoDB.Driver.Core.Bindings;
25+
using MongoDB.Driver.Core.Clusters;
2526
using MongoDB.Driver.Core.Clusters.ServerSelectors;
2627
using MongoDB.Driver.Core.Events;
2728
using MongoDB.Driver.Core.Misc;
@@ -269,6 +270,8 @@ protected void CreateCollection()
269270
protected DisposableMongoClient CreateDisposableClient(BsonDocument test, EventCapturer eventCapturer)
270271
{
271272
var useMultipleShardRouters = test.GetValue("useMultipleMongoses", false).AsBoolean;
273+
useMultipleShardRouters = false; // TODO: remove this line once SERVER-41532 is fixed
274+
272275
return DriverTestConfiguration.CreateDisposableClient(
273276
settings =>
274277
{

0 commit comments

Comments
 (0)