testdata/initial-dns-seedlist-discovery/replica-set/srvMaxHosts-less_than_srv_records.yml
raw symbols SCIP| 1 | # When srvMaxHosts is less than the number of SRV records, a random subset of |
| 2 | # hosts are added to the seed list. We cannot anticipate which hosts will be |
| 3 | # selected, so this test uses numSeeds instead of seeds. Since this is a replica |
| 4 | # set, all hosts should ultimately be discovered by SDAM. |
| 5 | # |
| 6 | # The replicaSet URI option is omitted to avoid a URI validation error. |
| 7 | uri: "mongodb+srv://test1.test.build.10gen.cc/?srvMaxHosts=1" |
| 8 | numSeeds: 1 |
| 9 | hosts: |
| 10 | - localhost:27017 |
| 11 | - localhost:27018 |
| 12 | - localhost:27019 |
| 13 | options: |
| 14 | srvMaxHosts: 1 |
| 15 | ssl: true |
| 16 | ping: true |