testdata/initial-dns-seedlist-discovery/replica-set/srvMaxHosts-greater_than_srv_records.yml
raw symbols SCIP| 1 | # When srvMaxHosts is greater than the number of SRV records, all hosts are |
| 2 | # added to the seed list. |
| 3 | # |
| 4 | # The replicaSet URI option is omitted to avoid a URI validation error. |
| 5 | uri: "mongodb+srv://test1.test.build.10gen.cc/?srvMaxHosts=3" |
| 6 | seeds: |
| 7 | - localhost.test.build.10gen.cc:27017 |
| 8 | - localhost.test.build.10gen.cc:27018 |
| 9 | hosts: |
| 10 | - localhost:27017 |
| 11 | - localhost:27018 |
| 12 | - localhost:27019 |
| 13 | options: |
| 14 | srvMaxHosts: 3 |
| 15 | ssl: true |
| 16 | ping: true |