Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-1679

URI options tests failing on master

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 2.7.0.rc0
    • Spec Comp
    • None

    Description

      Master has two failures in all confgurations:

      1) ./spec/spec_tests/uri_options_spec.rb[1:7:3:4:3]

      Uri Options tls-options.yml tlsAllowInvalidCertificates is parsed correctly when the uri is valid creates a client with the correct options

      RSpec::Expectations::ExpectationNotMetError: With URI: mongodb://example.com/?tlsAllowInvalidCertificates=true
      Expected that test options:

      {"tlsAllowInvalidCertificates"=>true}

      would match client options:

      {database=>admin, ssl_verify_certificate=>false, monitoring_io=>false}

      2) ./spec/spec_tests/uri_options_spec.rb[1:7:5:4:3]

      Uri Options tls-options.yml tlsAllowInvalidHostnames is parsed correctly when the uri is valid creates a client with the correct options

      RSpec::Expectations::ExpectationNotMetError: With URI: mongodb://example.com/?tlsAllowInvalidHostnames=true
      Expected that test options:

      {"tlsAllowInvalidHostnames"=>true}

      would match client options:

      {database=>admin, ssl_verify_hostname=>false, monitoring_io=>false}

      /opt/ruby-8cd47ac2cf636710740a6d79167f055e4c0a0154/rubies/jruby-9.2.0.0/lib/ruby/gems/shared/gems/rspec-support-3.8.0/lib/rspec/support.rb:97:in `block in Support'
      /opt/ruby-8cd47ac2cf636710740a6d79167f055e4c0a0154/rubies/jruby-9.2.0.0/lib/ruby/gems/shared/gems/rspec-support-3.8.0/lib/rspec/support.rb:106:in `notify_failure'
      /opt/ruby-8cd47ac2cf636710740a6d79167f055e4c0a0154/rubies/jruby-9.2.0.0/lib/ruby/gems/shared/gems/rspec-expectations-3.8.2/lib/rspec/expectations/fail_with.rb:35:in `fail_with'
      /opt/ruby-8cd47ac2cf636710740a6d79167f055e4c0a0154/rubies/jruby-9.2.0.0/lib/ruby/gems/shared/gems/rspec-expectations-3.8.2/lib/rspec/expectations/handler.rb:40:in `handle_failure'
      /opt/ruby-8cd47ac2cf636710740a6d79167f055e4c0a0154/rubies/jruby-9.2.0.0/lib/ruby/gems/shared/gems/rspec-expectations-3.8.2/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'
      /opt/ruby-8cd47ac2cf636710740a6d79167f055e4c0a0154/rubies/jruby-9.2.0.0/lib/ruby/gems/shared/gems/rspec-expectations-3.8.2/lib/rspec/expectations/handler.rb:27:in `with_matcher'
      /opt/ruby-8cd47ac2cf636710740a6d79167f055e4c0a0154/rubies/jruby-9.2.0.0/lib/ruby/gems/shared/gems/rspec-expectations-3.8.2/lib/rspec/expectations/handler.rb:48:in `handle_matcher'
      /opt/ruby-8cd47ac2cf636710740a6d79167f055e4c0a0154/rubies/jruby-9.2.0.0/lib/ruby/gems/shared/gems/rspec-expectations-3.8.2/lib/rspec/expectations/expectation_target.rb:65:in `to'
      /data/mci/6b6b4e82e0806cb7691e87b7f5a88cb4/src/spec/spec_tests/uri_options_spec.rb:87:in `block in (root)'

      Attachments

        Activity

          People

            sam.rossi@mongodb.com Samuel Rossi (Inactive)
            oleg.pudeyev@mongodb.com Oleg Pudeyev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: