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)>'
- related to
-
MONGOID-5621 Mongoid.disconnect_clients spec fails inside a docker container
- Closed