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: false 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: ~ # https://jira.mongodb.org/browse/DRIVERS-1368 options: ~ - description: "Too low zlibCompressionLevel causes a warning" uri: "mongodb://example.com/?compressors=zlib&zlibCompressionLevel=-2" valid: true warning: true hosts: ~ auth: ~ # https://jira.mongodb.org/browse/DRIVERS-1368 options: ~ - description: "Too high zlibCompressionLevel causes a warning" uri: "mongodb://example.com/?compressors=zlib&zlibCompressionLevel=10" valid: true warning: true hosts: ~ auth: ~ # https://jira.mongodb.org/browse/DRIVERS-1368 options: ~