• Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Tests
    • 3

      This seems to have made it to master:

       1) ./spec/mongo/operation/update/op_msg_spec.rb[1:4:1:2:2:1]
      
      ./spec/mongo/operation/update/op_msg_spec.rb[1:4:1:2:2:1]
      
      RSpec::Mocks::MockExpectationError: #<Mongo::Protocol::Msg (class)> received :new with unexpected arguments
        expected: ([:none], {}, {"$db"=>"ruby-driver", :ordered=>true, :update=>"test", :writeConcern=>{:w=>1}}, {:payload=>{:identifier=>"updates", :sequence=>[{:multi=>true, :q=>{:foo=>1}, :u=>{:$set=>{:bar=>1}}, :upsert=>false}]}, :type=>1})
             got: ([:none], {}, {"$db"=>"ruby-driver", :lsid=>{"id"=><BSON::Binary:0x85339140 type=uuid data=0x9ee9de256c2a4a17...>}, :ordered=>true, :update=>"test", :writeConcern=>{:w=>1}}, {:payload=>{:identifier=>"updates", :sequence=>[{:multi=>true, :q=>{:foo=>1}, :u=>{:$set=>{:bar=>1}}, :upsert=>false}]}, :type=>1})
      Diff:
      @@ -1,6 +1,8 @@
       [[:none],
        {},
        {"$db"=>"ruby-driver",
      +  :lsid=>
      +   {"id"=><BSON::Binary:0x85339140 type=uuid data=0x9ee9de256c2a4a17...>},
         :ordered=>true,
         :update=>"test",
         :writeConcern=>{:w=>1}},
      
      /data/mci/466f9ab3ad7592fc92a2ff53e7818982/src/ruby-head/lib/ruby/gems/2.6.0/gems/rspec-support-3.8.0/lib/rspec/support.rb:97:in `block in <module:Support>'
      /data/mci/466f9ab3ad7592fc92a2ff53e7818982/src/ruby-head/lib/ruby/gems/2.6.0/gems/rspec-support-3.8.0/lib/rspec/support.rb:106:in `notify_failure'
      /data/mci/466f9ab3ad7592fc92a2ff53e7818982/src/ruby-head/lib/ruby/gems/2.6.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/error_generator.rb:327:in `notify'
      /data/mci/466f9ab3ad7592fc92a2ff53e7818982/src/ruby-head/lib/ruby/gems/2.6.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/error_generator.rb:311:in `__raise'
      /data/mci/466f9ab3ad7592fc92a2ff53e7818982/src/ruby-head/lib/ruby/gems/2.6.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/error_generator.rb:55:in `raise_unexpected_message_args_error'
      /data/mci/466f9ab3ad7592fc92a2ff53e7818982/src/ruby-head/lib/ruby/gems/2.6.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/message_expectation.rb:501:in `raise_unexpected_message_args_error'
      /data/mci/466f9ab3ad7592fc92a2ff53e7818982/src/ruby-head/lib/ruby/gems/2.6.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/proxy.rb:188:in `message_received'
      /data/mci/466f9ab3ad7592fc92a2ff53e7818982/src/ruby-head/lib/ruby/gems/2.6.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/proxy.rb:327:in `message_received'
      /data/mci/466f9ab3ad7592fc92a2ff53e7818982/src/ruby-head/lib/ruby/gems/2.6.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/method_double.rb:77:in `proxy_method_invoked'
      /data/mci/466f9ab3ad7592fc92a2ff53e7818982/src/ruby-head/lib/ruby/gems/2.6.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/method_double.rb:64:in `block (2 levels) in define_proxy_method'
      /data/mci/466f9ab3ad7592fc92a2ff53e7818982/src/lib/mongo/operation/update/op_msg.rb:40:in `message'
      /data/mci/466f9ab3ad7592fc92a2ff53e7818982/src/spec/mongo/operation/update/op_msg_spec.rb:162:in `block (6 levels) in <top (required)>'
      

            Assignee:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: