Sha256: c387fcae640f9996da3eb1b1dc93433d6ec673c80dce780d910a09c359fd2f29

Contents?: true

Size: 1.95 KB

Versions: 31

Compression:

Stored size: 1.95 KB

Contents

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: ~

Version data entries

31 entries across 31 versions & 2 rubygems

Version Path
mongo-2.17.1 spec/spec_tests/data/connection_string/valid-warnings.yml
mongo-2.16.1 spec/spec_tests/data/connection_string/valid-warnings.yml
mongo-2.17.0 spec/spec_tests/data/connection_string/valid-warnings.yml
mongo-2.16.0 spec/spec_tests/data/connection_string/valid-warnings.yml
mongo-2.14.1 spec/spec_tests/data/connection_string/valid-warnings.yml
mongo-2.15.1 spec/spec_tests/data/connection_string/valid-warnings.yml
mongo-2.16.0.alpha1 spec/spec_tests/data/connection_string/valid-warnings.yml
mongo-2.15.0 spec/spec_tests/data/connection_string/valid-warnings.yml
mongo-2.15.0.alpha spec/spec_tests/data/connection_string/valid-warnings.yml
mongo-2.14.0 spec/spec_tests/data/connection_string/valid-warnings.yml
mongo-2.14.0.rc1 spec/spec_tests/data/connection_string/valid-warnings.yml