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

8.0-stable has failing spec

    • Type: Icon: Build Failure Build Failure
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 8.0.5
    • Affects Version/s: 8.0.4
    • Component/s: Tests
    • None

      The spec "Mongoid.disconnect_clients disconnects from all active clients" fails on 8.0-stable, consistently. It is reproducible locally by running "rspec spec/mongoid_spec.rb:55".

      Trying to paste the output here, but I'm sure Jira will mangle the heck out of it:

        1) Mongoid.disconnect_clients disconnects from all active clients
           Failure/Error: expect(client.cluster).to receive(:disconnect!).and_call_original
           
             (#<Mongo::Cluster:0x3380 servers=[#<Mongo::Server:0x3440 address=127.0.0.1:27017 MONGOS>] topology=Sharded[127.0.0.1:27017]>).disconnect!(*(any args))
                 expected: 1 time with any arguments
                 received: 0 times with any arguments
           # ./spec/mongoid_spec.rb:55:in `block (4 levels) in <top (required)>'

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

              Created:
              Updated:
              Resolved: