Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix transient spec failures #12

Closed
Tracked by #13
johnnyshields opened this issue Apr 10, 2023 · 1 comment
Closed
Tracked by #13

Fix transient spec failures #12

johnnyshields opened this issue Apr 10, 2023 · 1 comment

Comments

@johnnyshields
Copy link
Contributor

johnnyshields commented Apr 10, 2023

https://github.com/tablecheck/mongoid-ultra/actions/runs/4660431192/jobs/8248482848?pr=9

  1) Mongoid::Clients::Options.with when passing some options when passing a block when the options create a new cluster disconnects the new cluster when the block exits
     Failure/Error: expect(connections_after).to eq(connections_before)
     
       expected: 6
            got: 7
     
       (compared using ==)
     # ./spec/mongoid/clients/options_spec.rb:430:in `block (6 levels) in <top (required)>'
     # ./spec/shared/lib/mrss/lite_constraints.rb:232:in `block in retry_test'
     # ./spec/lite_spec_helper.rb:74:in `block (3 levels) in <top (required)>'
     # ./spec/lite_spec_helper.rb:73:in `block (2 levels) in <top (required)>'
@johnnyshields
Copy link
Contributor Author

Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant