[CSHARP-3950] Get all tests to pass against a cluster with a single mongos and default configurations Created: 02/Nov/21  Updated: 28/Oct/23  Resolved: 30/Nov/21

Status: Closed
Project: C# Driver
Component/s: Testing
Affects Version/s: None
Fix Version/s: 2.15.0

Type: Improvement Priority: Unknown
Reporter: Robert Stam Assignee: Dmitry Lukyanov (Inactive)
Resolution: Fixed Votes: 0
Labels: green-build-friday
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

There are a number of tests (47 at the time this ticket is being created) that fail when run against a cluster with a single mongos.

To reproduce start a cluster with mlaunch like this:

mlaunch init --sharded 1 --replicaset --nodes 1 --mongos 1 --binarypath C:\mongodb\v5.0.3\bin --setParameter enableTestCommands=true

which results in the following cluster configuration:

PS C:\mlaunch\v5.0.3\sharded> mlaunch list
 
PROCESS          PORT     STATUS     PID
 
mongos           27017    running    27192
 
config server    27019    running    29380
 
shard01
    mongod       27018    running    10192
 
 
PS C:\mlaunch\v5.0.3\sharded>

 Then run the tests using:

.\build.ps1 --target=testnet472 // or test 

The tests should be run using the default connection strings built into the test suite. In other words, the `MONGODB_URI` and `MONGODB_URI_WITH_MULTIPLE_MONGOSES` environment variables should not be set.

 



 Comments   
Comment by Githook User [ 30/Nov/21 ]

Author:

{'name': 'Dmitry Lukyanov', 'email': 'dmitry.lukyanov@mongodb.com', 'username': 'DmitryLukyanov'}

Message: CSHARP-3950: Get all tests to pass against a cluster with a single mongos and default configurations. (#695)

CSHARP-3950: Get all tests to pass against a cluster with a single mongos and default configurations.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/d3e4e7fa1660e1350984d1d02ae1fe71e53bc992

Generated at Wed Feb 07 21:46:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.