File: valid-warnings.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 (75 lines) | stat: -rw-r--r-- 1,996 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
tests:
    -
        description: "Unrecognized option keys are ignored"
        uri: "mongodb://example.com/?foo=bar"
        valid: true
        warning: true
        hosts:
            -
                type: "hostname"
                host: "example.com"
                port: ~
        auth: ~
        options: ~
    -
        description: "Unsupported option values are ignored"
        uri: "mongodb://example.com/?fsync=ifPossible"
        valid: true
        warning: true
        hosts:
            -
                type: "hostname"
                host: "example.com"
                port: ~
        auth: ~
        options: ~
    -
        description: "Repeated option keys"
        uri: "mongodb://example.com/?replicaSet=test&replicaSet=test"
        valid: true
        warning: true
        hosts:
            -
                type: "hostname"
                host: "example.com"
                port: ~
        auth: ~
        options:
            replicaset: "test"
    -
        description: "Deprecated (or unknown) options are ignored if replacement exists"
        uri: "mongodb://example.com/?wtimeout=5&wtimeoutMS=10"
        valid: true
        warning: true
        hosts:
            -
                type: "hostname"
                host: "example.com"
                port: ~
        auth: ~
        options:
            wtimeoutms: 10
    -
        description: "Empty integer option values are ignored"
        uri: "mongodb://localhost/?maxIdleTimeMS="
        valid: true
        warning: true
        hosts:
            -
                type: "hostname"
                host: "localhost"
                port: ~
        auth: ~
        options: ~
    -
        description: "Empty boolean option value are ignored"
        uri: "mongodb://localhost/?journal="
        valid: true
        warning: true
        hosts:
            -
                type: "hostname"
                host: "localhost"
                port: ~
        auth: ~
        options: ~