File: ruby_primary_address_change.yml

package info (click to toggle)
ruby-mongo 2.23.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,020 kB
  • sloc: ruby: 110,810; makefile: 5
file content (31 lines) | stat: -rw-r--r-- 889 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# This test was used during Ruby driver SDAM implementation.
# It is not worthwhile to upstream it to specifications repo.
description: Primary whose address differs from client address but no me mismatch
uri: mongodb://localhost:27017/?replicaSet=rs
phases:
-
  responses:
  -
    - localhost:27017
    - hosts:
      - a:27017
      - b:27017
      ismaster: true
      ok: 1
      setName: rs
      minWireVersion: 0
      maxWireVersion: 6
  outcome:
    # Both of the hosts in the primary description are added to the topology.
    # Existing server (localhost:27017) is removed from topology because
    # its address is not in the list of hosts returned by the primary.
    servers:
      a:27017:
        setName: 
        type: Unknown
      b:27017:
        setName: 
        type: Unknown
    setName: rs
    topologyType: ReplicaSetNoPrimary
    logicalSessionTimeoutMinutes: