Sha256: 6e59088cc151fac2740a88786fc4adfd802d4237ac75f69ab5c2aeccd6f5116e

Contents?: true

Size: 1.36 KB

Versions: 39

Compression:

Stored size: 1.36 KB

Contents

tests:
    -
        description: "Valid compression options are parsed correctly"
        uri: "mongodb://example.com/?compressors=zlib&zlibCompressionLevel=9"
        valid: true
        warning: false
        hosts: ~
        auth: ~
        options:
            compressors: 
              - "zlib"
            zlibCompressionLevel: 9
    -
        description: "Multiple compressors are parsed correctly"
        uri: "mongodb://example.com/?compressors=snappy,zlib"
        valid: true
        warning: true
        hosts: ~
        auth: ~
        options:
            compressors:
              - "snappy"
              - "zlib"
    -
        description: "Non-numeric zlibCompressionLevel causes a warning"
        uri: "mongodb://example.com/?compressors=zlib&zlibCompressionLevel=invalid"
        valid: true
        warning: true
        hosts: ~
        auth: ~
        options: {}
    -
        description: "Too low zlibCompressionLevel causes a warning"
        uri: "mongodb://example.com/?compressors=zlib&zlibCompressionLevel=-2"
        valid: true
        warning: true
        hosts: ~
        auth: ~
        options: {}
    -
        description: "Too high zlibCompressionLevel causes a warning"
        uri: "mongodb://example.com/?compressors=zlib&zlibCompressionLevel=10"
        valid: true
        warning: true
        hosts: ~
        auth: ~
        options: {}

Version data entries

39 entries across 39 versions & 2 rubygems

Version Path
mongo-2.13.3 spec/spec_tests/data/uri_options/compression-options.yml
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/mongo-2.8.0/spec/spec_tests/data/uri_options/compression-options.yml
mongo-2.13.2 spec/spec_tests/data/uri_options/compression-options.yml
mongo-2.13.1 spec/spec_tests/data/uri_options/compression-options.yml
mongo-2.12.4 spec/spec_tests/data/uri_options/compression-options.yml
mongo-2.11.6 spec/spec_tests/data/uri_options/compression-options.yml
mongo-2.13.0 spec/spec_tests/data/uri_options/compression-options.yml
mongo-2.12.3 spec/spec_tests/data/uri_options/compression-options.yml
mongo-2.13.0.rc1 spec/spec_tests/data/uri_options/compression-options.yml
mongo-2.12.2 spec/spec_tests/data/uri_options/compression-options.yml
mongo-2.10.5 spec/spec_tests/data/uri_options/compression-options.yml
mongo-2.11.5 spec/spec_tests/data/uri_options/compression-options.yml
mongo-2.13.0.beta1 spec/spec_tests/data/uri_options/compression-options.yml
mongo-2.12.1 spec/spec_tests/data/uri_options/compression-options.yml
mongo-2.12.0.rc0 spec/spec_tests/data/uri_options/compression-options.yml
mongo-2.11.4 spec/spec_tests/data/uri_options/compression-options.yml
mongo-2.10.4 spec/spec_tests/data/uri_options/compression-options.yml
mongo-2.11.3 spec/spec_tests/data/uri_options/compression-options.yml
mongo-2.11.2 spec/spec_tests/data/uri_options/compression-options.yml
mongo-2.11.1 spec/spec_tests/data/uri_options/compression-options.yml