Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-5130

Fix or remove flaky Mongoid::Clients::Options#with test

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • 7.4.0
    • Affects Version/s: None
    • Component/s: None

      There is one spec that fails from time to time on Mongoid project:

      1) Mongoid::Clients::Options#with when passing some options when passing a block when the options do not create a new cluster does not disconnect the original cluster
          Failure/Error: expect(connections_after).to eq(connections_before)
          
            expected: 12
                 got: 11
          
            (compared using ==)
          # ./spec/mongoid/clients/options_spec.rb:144:in `block (6 levels) in <top (required)>'
          # ./spec/lite_spec_helper.rb:68:in `block (3 levels) in <top (required)>'
          # ./spec/lite_spec_helper.rb:67:in `block (2 levels) in <top (required)>'

       

      This spec is disabled for now. It should be either fixed and re-enabled, or removed completely.

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

              Created:
              Updated: