When executing in Docker, there is a test failure:
1) Mongoid.disconnect_clients disconnects from all active clients Failure/Error: expect(client.cluster).to receive(:disconnect!).and_call_original (#<Mongo::Cluster:0x7040 servers=[#<Mongo::Server:0x7100 address=localhost:27017 PRIMARY>, #<Mongo::Server:0x7120 address=localhost:27018 SECONDARY>] topology=ReplicaSetWithPrimary[localhost:27017,localhost:27018,localhost:27019,name=test-rs,v=1,e=7fffffff0000000000000001]>).disconnect!(*(any args)) expected: 1 time with any arguments received: 0 times with any arguments # ./spec/mongoid_spec.rb:80:in `block (4 levels) in <top (required)>'
This error is not reproducible without docker.
- is related to
-
MONGOID-5626 8.0-stable has failing spec
- Closed