...

Text file src/go.mongodb.org/mongo-driver/testdata/initial-dns-seedlist-discovery/replica-set/srvMaxHosts-conflicts_with_replicaSet.json

Documentation: go.mongodb.org/mongo-driver/testdata/initial-dns-seedlist-discovery/replica-set

     1{
     2  "uri": "mongodb+srv://test1.test.build.10gen.cc/?replicaSet=repl0&srvMaxHosts=1",
     3  "seeds": [],
     4  "hosts": [],
     5  "error": true,
     6  "comment": "Should fail because positive integer for srvMaxHosts conflicts with replicaSet option"
     7}

View as plain text