summaryrefslogtreecommitdiff
path: root/src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/go.mongodb.org/mongo-driver/data/uri-options/single-threaded-options.yml
blob: 6c2b02e196ebc293e6c0b6e76e5d2d2b0e30354f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
tests:
    -
        description: "Valid options specific to single-threaded drivers are parsed correctly"
        uri: "mongodb://example.com/?serverSelectionTryOnce=false"
        valid: true
        warning: false
        hosts: ~
        auth: ~
        options:
            serverSelectionTryOnce: false
    -
        description: "Invalid serverSelectionTryOnce causes a warning"
        uri: "mongodb://example.com/?serverSelectionTryOnce=invalid"
        valid: true
        warning: true
        hosts: ~
        auth: ~
        options: {}