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 tests for sharded_cluster #16

Closed
Tracked by #13
johnnyshields opened this issue Apr 11, 2023 · 0 comments
Closed
Tracked by #13

Fix tests for sharded_cluster #16

johnnyshields opened this issue Apr 11, 2023 · 0 comments

Comments

@johnnyshields
Copy link
Contributor

johnnyshields commented Apr 11, 2023

See: /~https://github.com/tablecheck/mongoid-ultra/actions/runs/4664431260/jobs/8256670324?pr=15

  41) Mongoid::QueryCache after calling none? on an association returns all children for the association
      Failure/Error: raise "Session registry contains live sessions: #{sessions.join(', ')}"
      
      RuntimeError:
        Session registry contains live sessions: #<Mongo::Session:0x00007f7aa6f5b838>
      # ./spec/shared/lib/mrss/session_registry.rb:61:in `verify_sessions_ended!'
      # ./spec/mongoid/query_cache_spec.rb:24:in `block (2 levels) in <top (required)>'
      # ./spec/mongoid/query_cache_spec.rb:10:in `block (3 levels) in <top (required)>'
      # ./lib/mongoid/query_cache.rb:47:in `cache'
      # ./spec/mongoid/query_cache_spec.rb:10:in `block (2 levels) in <top (required)>'
      # ./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)>'
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