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

Certain CMAP spec tests flaky on JRuby

    • Type: Icon: Build Failure Build Failure
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: Connections, JRuby, Tests
    • Labels:
      None

      Some tests specified in pool-checkout-minPoolSize-connection-maxConnecting.yml are flaky on JRuby. Below are an example of failure:

      1) Cmap threads blocked by maxConnecting check out minPoolSize connections (pool-checkout-minPoolSize-connection-maxConnecting.yml) emits correct event 3
          Failure/Error: expect(actual_modified.slice(*expected.keys)).to eq(expected)
          
            expected: {"address"=>42, "type"=>"ConnectionCheckedOut"}
                 got: {"address"=>42, "type"=>"ConnectionCreated"}
          
            (compared using ==)
          
            Diff:
            @@ -1,3 +1,3 @@
             "address" => 42,
            -"type" => "ConnectionCheckedOut",
            +"type" => "ConnectionCreated",
            
          # ./spec/runners/cmap/verifier.rb:44:in `verify_hashes'
          # ./spec/spec_tests/cmap_spec.rb:120:in `block in <main>'
          # ./spec/spec_tests/cmap_spec.rb:119:in `block in <main>'
          # ./spec/lite_spec_helper.rb:150:in `block in <main>'
          # ./spec/lite_spec_helper.rb:149:in `block in <main>'
          # ./spec/lite_spec_helper.rb:129:in `block in <main>'
      

            Assignee:
            Unassigned Unassigned
            Reporter:
            dmitry.rybakov@mongodb.com Dmitry Rybakov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: