# Test when the deprioritized server is the only server with matching tags.
topology_description:
  type: ReplicaSetNoPrimary
  servers:
  - &1
    address: b:27017
    avg_rtt_ms: 5
    type: RSSecondary
    tags:
      data_center: nyc
  - &2
    address: c:27017
    avg_rtt_ms: 100
    type: RSSecondary
    tags:
      data_center: tokyo
operation: read
read_preference:
  mode: PrimaryPreferred
  tag_sets:
  - data_center: nyc
deprioritized_servers:
- *1 # Deprioritized, but only server matching the tag set.
suitable_servers:
- *1
in_latency_window:
- *1
