File: valid-warnings.yml

package info (click to toggle)
ruby-mongo 2.5.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,332 kB
  • sloc: ruby: 45,579; makefile: 5
file content (55 lines) | stat: -rw-r--r-- 1,571 bytes parent folder | download | duplicates (4)
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
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: ~
#
# A Mongo::Client doesn't validate option values when initialized so the uri doesn't either.
#    -
#        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"
#
# Change this test in the future if there is a deprecated option in driver 2.0
#    -
#        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