File: ruby_primary_different_address.yml

package info (click to toggle)
ruby-mongo 2.21.3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 14,764 kB
  • sloc: ruby: 108,806; makefile: 5; sh: 2
file content (24 lines) | stat: -rw-r--r-- 606 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
description: RS Primary in forced single topology with a different address from client but no me mismatch
uri: mongodb://localhost:27017/?connect=direct
phases:
-
  responses:
  -
    - localhost:27017
    - hosts:
      - a:27017
      - b:27017
      ismaster: true
      ok: 1
      setName: rs
      minWireVersion: 0
      maxWireVersion: 6
  outcome:
    # In Single topology the server type is preserved. In this case the
    # connection is to a RS primary.
    servers:
      localhost:27017:
        type: RSPrimary
        setName: rs
    topologyType: Single
    logicalSessionTimeoutMinutes: