File: PossiblePrimaryNearest.yml

package info (click to toggle)
golang-mongodb-mongo-driver 1.8.1%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 18,500 kB
  • sloc: perl: 533; ansic: 491; python: 432; makefile: 187; sh: 72
file content (15 lines) | stat: -rw-r--r-- 315 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Test that PossiblePrimary isn't candidate for any read preference mode.
---
topology_description:
  type: ReplicaSetNoPrimary
  servers:
  - address: b:27017
    avg_rtt_ms: 5
    type: PossiblePrimary
operation: read
read_preference:
  mode: Nearest
  tag_sets:
  - {}
suitable_servers: []
in_latency_window: []