tests:
    -
        description: "maxAdaptiveRetries is parsed correctly"
        uri: "mongodb://example.com/?maxAdaptiveRetries=3"
        valid: true
        warning: false
        hosts: ~
        auth: ~
        options:
            maxAdaptiveRetries: 3
    -
        description: "maxAdaptiveRetries=0 is parsed correctly"
        uri: "mongodb://example.com/?maxAdaptiveRetries=0"
        valid: true
        warning: false
        hosts: ~
        auth: ~
        options:
            maxAdaptiveRetries: 0
    -
        description: "maxAdaptiveRetries with invalid value causes a warning"
        uri: "mongodb://example.com/?maxAdaptiveRetries=-5"
        valid: true
        warning: true
        hosts: ~
        auth: ~
        options: ~
    -
        description: "enableOverloadRetargeting is parsed correctly"
        uri: "mongodb://example.com/?enableOverloadRetargeting=true"
        valid: true
        warning: false
        hosts: ~
        auth: ~
        options:
            enableOverloadRetargeting: true
    -
        description: "enableOverloadRetargeting=false is parsed correctly"
        uri: "mongodb://example.com/?enableOverloadRetargeting=false"
        valid: true
        warning: false
        hosts: ~
        auth: ~
        options:
            enableOverloadRetargeting: false
    -
        description: "enableOverloadRetargeting with invalid value causes a warning"
        uri: "mongodb://example.com/?enableOverloadRetargeting=invalid"
        valid: true
        warning: true
        hosts: ~
        auth: ~
        options: ~
