File: ruby-connection-options.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 (58 lines) | stat: -rw-r--r-- 1,471 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
tests:
  -
    description: directConnection=true and connect=direct
    uri: "mongodb://example.com/?directConnection=true&connect=direct"
    valid: true
    warning: false
    hosts: ~
    auth: ~
    options:
      directConnection: true
      connect: direct
  
  -
    description: directConnection=false and connect=direct
    uri: "mongodb://example.com/?directConnection=false&connect=direct"
    valid: false
    warning: false
    hosts: ~
    auth: ~
  
  -
    description: directConnection=true and connect=replica_set
    uri: "mongodb://example.com/?directConnection=true&connect=replica_set&replicaSet=foo"
    valid: false
    warning: false
    hosts: ~
    auth: ~
  
  -
    description: directConnection=false and connect=replica_set
    uri: "mongodb://example.com/?directConnection=false&connect=replica_set&replicaSet=foo"
    valid: true
    warning: false
    hosts: ~
    auth: ~
    options:
      directConnection: false
      connect: replica_set
      replicaSet: foo
    
  -
    description: directConnection=true and connect=sharded
    uri: "mongodb://example.com/?directConnection=true&connect=sharded"
    valid: false
    warning: false
    hosts: ~
    auth: ~
  
  -
    description: directConnection=false and connect=replica_set
    uri: "mongodb://example.com/?directConnection=false&connect=sharded"
    valid: true
    warning: false
    hosts: ~
    auth: ~
    options:
      directConnection: false
      connect: sharded