Sha256: 2d20eebed4eabb3aba4a2b1e5cbaab094e411acd2f3f905939c1c7601b0fbf45

Contents?: true

Size: 1.53 KB

Versions: 58

Compression:

Stored size: 1.53 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: ~
#
# 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

Version data entries

58 entries across 55 versions & 3 rubygems

Version Path
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/mongo-2.8.0/spec/spec_tests/data/connection_string/valid-warnings.yml
mongo-2.10.5 spec/spec_tests/data/connection_string/valid-warnings.yml
mongo-2.10.4 spec/spec_tests/data/connection_string/valid-warnings.yml
mongo-2.10.3 spec/spec_tests/data/connection_string/valid-warnings.yml
mongo-2.9.2 spec/spec_tests/data/connection_string/valid-warnings.yml
mongo-2.10.2 spec/spec_tests/data/connection_string/valid-warnings.yml
mongo-2.10.1 spec/spec_tests/data/connection_string/valid-warnings.yml
mongo-2.10.0 spec/spec_tests/data/connection_string/valid-warnings.yml
mongo-2.9.1 spec/spec_tests/data/connection_string/valid-warnings.yml
mongo-2.10.0.rc0 spec/spec_tests/data/connection_string/valid-warnings.yml
mongo-2.9.1.rc0 spec/spec_tests/data/connection_string/valid-warnings.yml
mongo-2.9.0 spec/spec_tests/data/connection_string/valid-warnings.yml
mongo-2.9.0.rc1 spec/spec_tests/data/connection_string/valid-warnings.yml
mongo-2.9.0.rc0 spec/spec_tests/data/connection_string/valid-warnings.yml
mongo-2.8.0 spec/spec_tests/data/connection_string/valid-warnings.yml
mongo-2.7.2 spec/spec_tests/data/connection_string/valid-warnings.yml
mongo-2.8.0.rc0 spec/spec_tests/data/connection_string/valid-warnings.yml
mongo-2.7.1 spec/spec_tests/data/connection_string/valid-warnings.yml
mongo-2.7.0 spec/spec_tests/data/connection_string/valid-warnings.yml
mongo-2.7.0.rc0 spec/spec_tests/data/connection_string/valid-warnings.yml