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

Known transient spec failures #29

Open
johnnyshields opened this issue Apr 13, 2023 · 0 comments
Open

Known transient spec failures #29

johnnyshields opened this issue Apr 13, 2023 · 0 comments

Comments

@johnnyshields
Copy link
Contributor

  1) Mongoid::Contextual::Mongo#last when including a limit when the context is cached when query cache is enabled when getting one document before when getting more than one document returns the correct documents and touches the database
     Failure/Error: raw_docs = v.to_a.reverse
       The message 'command_started' was received by #<Mongo::Server::PendingConnection:65352 @description=#<Mongo::Server::Description:0x4b090a39>, @socket=#<Mongo::Socket::TCP:0x38874c31>, @options={auth_source=>admin, server_selection_timeout=>3.42, heartbeat_frequency=>180, user=>mongoid-user, *** platform=>mongoid-9.0.0.0.alpha1, wrapping_libraries=>[{"name"=>"Mongoid", "version"=>"9.0.0.0.alpha1"}], database=>mongoid_test, max_read_retries=>, read_retry_interval=>, srv_uri=>, min_size=>, max_size=>5, wait_timeout=>1, connection_pool=>#<Mongo::Server::ConnectionPool:0x68d58a73>, generation=>1, id=>2}, @server=#<Mongo::Server:0x53e38201>, @resolved_user=#<Mongo::Auth::User:0x5187aa88>, @monitoring=#<Mongo::Monitoring:0x7963d637>, @sasl_supported_mechanisms=["SCRAM-SHA-256", "SCRAM-SHA-1"], @id=2, @app_metadata=#<Mongo::Server::AppMetadata:0x69dc9c8c>> but has already been received by #<Mongo::Server::Connection:0x30dc3991>
     # ./lib/mongoid/contextual/mongo.rb:975:in `retrieve_nth_to_last_with_limit'
     # ./lib/mongoid/contextual/mongo.rb:597:in `last'
     # ./spec/mongoid/contextual/mongo_spec.rb:2549:in `block in <main>'
     # ./spec/mongoid/contextual/mongo_spec.rb:2618:in `block in <main>'
     # ./spec/support/expectations.rb:22:in `block in expect_query'
     # ./spec/support/expectations.rb:16:in `expect_query'
     # ./spec/mongoid/contextual/mongo_spec.rb:2617:in `block in <main>'
     # ./spec/support/macros.rb:77:in `block in query_cache_enabled'
     # ./spec/support/macros.rb:76:in `block in query_cache_enabled'
     # ./spec/spec_helper.rb:184:in `block in <main>'
     # ./spec/spec_helper.rb:184:in `block in <main>'
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