--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
----------------------------------
CoreExtTest: test_versioned_upsert
----------------------------------
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000666504s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000403363s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00037623s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00030848299999999997s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0007264909999999999s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000615342s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000443741s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00051703s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000434991s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000562557s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000505311s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000736985s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00044887299999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000615823s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000514694s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0006049450000000001s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000567293s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000505446s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574adb551d34c708d42bfb29'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bhargav"}], "orde...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000558734s
----------------------------------
CoreExtTest: test_versioned_upsert
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00043137700000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000629607s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000500389s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000588667s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000605142s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0006531789999999999s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00042765100000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000458041s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00062781s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00038021699999999997s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00031699800000000003s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000228708s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000278803s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574adc2b1d34c7090ae87ef3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bhargav"}], "orde...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00031121599999999996s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574adc2b1d34c7090ae87ef3')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00028982000000000004s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574adc2b1d34c7090ae87ef3')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00048262900000000004s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00035603800000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000443964s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574adc2b1d34c7090ae87ef4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.022089774s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574adc2b1d34c7090ae87ef4')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000395609s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000283304s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000356202s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574adc2b1d34c7090ae87ef5'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}], "ordered"...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000486589s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00036267s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00036372s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.026184604s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574adc2b1d34c7090ae87ef6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00059161s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574adc2b1d34c7090ae87ef6')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.0006561399999999999s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000405072s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000587661s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574adc2b1d34c7090ae87ef7'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "image_file_name"=>"facebook.p...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000780176s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000313426s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000351523s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574adc2b1d34c7090ae87ef8'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005495459999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574adc2b1d34c7090ae87ef8')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.033347875s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574adc2b1d34c7090ae87ef8')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000330259s
----------------------------------
CoreExtTest: test_versioned_upsert
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000300369s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000465949s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574adc2b1d34c7090ae87ef9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0006289630000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574adc2b1d34c7090ae87ef9'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005741860000000001s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574adc2b1d34c7090ae87ef9')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000445183s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00035345099999999996s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000444741s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574adc2b1d34c7090ae87efa'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0006099660000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574adc2b1d34c7090ae87efa')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "name"=>"bhargav", "email"...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000646504s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574adc2b1d34c7090ae87efa')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00040249999999999997s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00034880699999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00043648s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574adc2b1d34c7090ae87efb'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bhargav"}], "orde...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000495807s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574adc2b1d34c7090ae87efb')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000665754s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574adc2b1d34c7090ae87efb')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000492989s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000559191s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.059462944s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574adc2b1d34c7090ae87efc'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000763275s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574adc2b1d34c7090ae87efc'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0007941269999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574adc2b1d34c7090ae87efc')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "name"=>"changed_name", "e...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000610635s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00044411600000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000514321s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574adc2b1d34c7090ae87efd'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"r...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000770221s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000398749s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574adc2b1d34c7090ae87efd')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000514888s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00038472399999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000518313s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574adc2b1d34c7090ae87efe'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000678041s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574adc2b1d34c7090ae87efe')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "name"=>"bhargav", "email"...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000799374s
------------------------------
CoreExtTest: test_blank_fields
------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0006260370000000001s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000374801s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bbb561d34c716d5f9848c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.059153081999999996s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
------------------------------
CoreExtTest: test_blank_fields
------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000491978s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000333244s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bbc361d34c71751e45ac1'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.022651581s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000646463s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000498069s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574bcc821d34c71eeb345058'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bhargav"}], "orde...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000548256s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bcc821d34c71eeb345058')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000362298s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574bcc821d34c71eeb345058')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000489049s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00027912799999999996s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000410541s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000305512s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000375324s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000292082s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00036621s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574bcc821d34c71eeb345059'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bhargav"}], "orde...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000378447s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574bcc821d34c71eeb345059')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00045175099999999996s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bcc821d34c71eeb345059')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00032276s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000263877s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000388779s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00019527500000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000243478s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000277007s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000413109s
----------------------------------
CoreExtTest: test_versioned_upsert
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000313351s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00037777400000000005s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000482949s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000433897s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574bcc821d34c71eeb34505a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}], "ordered"...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00039712899999999997s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000266496s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00023515300000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000389082s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00027853700000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00034779499999999997s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000517092s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00040071s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000583869s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000476065s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000588256s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000814765s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000364579s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000345525s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000341533s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574bcc941d34c71f09c24be3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bhargav"}], "orde...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00039206900000000004s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bcc941d34c71f09c24be3')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000470829s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574bcc941d34c71f09c24be3')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005882159999999999s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00039153s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00038943s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000369615s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000430092s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574bcc941d34c71f09c24be4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bhargav"}], "orde...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00044152s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574bcc941d34c71f09c24be4')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00038226499999999996s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bcc941d34c71f09c24be4')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00038598399999999997s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000329215s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00051339s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00028550099999999996s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00028274s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574bcc941d34c71f09c24be5'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}], "ordered"...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000397358s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000255s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000175848s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000255505s
----------------------------------
CoreExtTest: test_versioned_upsert
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000289094s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00048007s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00048753s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000482415s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000361438s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000325277s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000326553s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00023970899999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00032997s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000265842s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000277364s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00023176500000000001s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00028582600000000004s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00054377s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000351403s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bccc01d34c71f33bbcfb3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0006106769999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574bccc01d34c71f33bbcfb3'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.019298858999999998s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574bccc01d34c71f33bbcfb3')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "name"=>"changed_name", "e...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005488569999999999s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00023692899999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000368261s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bccc01d34c71f33bbcfb4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0006525750000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574bccc01d34c71f33bbcfb4')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "name"=>"bhargav", "email"...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0007389390000000001s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000249512s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000411881s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574bccc01d34c71f33bbcfb5'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bhargav"}], "orde...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000440713s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574bccc01d34c71f33bbcfb5')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000508259s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bccc01d34c71f33bbcfb5')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000380118s
----------------------------------
CoreExtTest: test_versioned_upsert
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00029962s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000443376s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bccc01d34c71f33bbcfb6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000460329s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574bccc01d34c71f33bbcfb6'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000854308s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bccc01d34c71f33bbcfb6')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000439554s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0005029909999999999s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0006085460000000001s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574bccc01d34c71f33bbcfb7'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bhargav"}], "orde...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000488674s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bccc01d34c71f33bbcfb7')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000332692s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574bccc01d34c71f33bbcfb7')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00048157100000000003s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000309542s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00040165700000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bccc01d34c71f33bbcfb8'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"r...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000550706s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000351659s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bccc01d34c71f33bbcfb8')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000344597s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000276796s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000411507s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bccc01d34c71f33bbcfb9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000587979s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574bccc01d34c71f33bbcfb9')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "name"=>"bhargav", "email"...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000667857s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bccc01d34c71f33bbcfb9')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000337665s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00028205s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000410918s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00040779s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000296426s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000434762s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000289914s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000345314s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bccc01d34c71f33bbcfba'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000593441s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bccc01d34c71f33bbcfba')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000319235s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00028159599999999995s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.034500889s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574bccc01d34c71f33bbcfbb'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}], "ordered"...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00041699799999999997s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000287223s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000379193s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0005202259999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bccc01d34c71f33bbcfbc'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00062168s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bccc01d34c71f33bbcfbc')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000493864s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000421921s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000531322s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bccc01d34c71f33bbcfbd'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000838614s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574bccc01d34c71f33bbcfbd')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.001132164s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bccc01d34c71f33bbcfbd')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000517066s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000505704s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00030622200000000004s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000309867s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000208899s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00024475800000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bcce01d34c71f52080ad6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00036487499999999996s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bcce01d34c71f52080ad6')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000225475s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00018473s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000411168s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00025778s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000286245s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bcce01d34c71f52080ad7'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00046700599999999995s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574bcce01d34c71f52080ad7'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000327923s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574bcce01d34c71f52080ad7')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "name"=>"changed_name", "e...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000256999s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000256097s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000247709s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bcce01d34c71f52080ad8'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"r...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000334831s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000185128s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bcce01d34c71f52080ad8')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000185074s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000211919s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000225155s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bcce01d34c71f52080ad9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00030202100000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574bcce01d34c71f52080ad9')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "name"=>"bhargav", "email"...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000423957s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bcce01d34c71f52080ad9')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000237669s
----------------------------------
CoreExtTest: test_versioned_upsert
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000188203s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00024052999999999998s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bcce01d34c71f52080ada'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00031780800000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574bcce01d34c71f52080ada'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00035583699999999996s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bcce01d34c71f52080ada')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00017537s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000136548s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00019964s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574bcce01d34c71f52080adb'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bhargav"}], "orde...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000300414s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574bcce01d34c71f52080adb')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.032414156s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bcce01d34c71f52080adb')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00032274s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000203473s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000287459s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bcce01d34c71f52080adc'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000405159s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574bcce01d34c71f52080adc')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "name"=>"bhargav", "email"...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00038549499999999997s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000191279s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00033854800000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bcce01d34c71f52080add'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00040466199999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574bcce01d34c71f52080add')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000754232s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bcce01d34c71f52080add')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000666773s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00035712600000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000424459s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574bcce01d34c71f52080ade'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bhargav"}], "orde...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000394893s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bcce01d34c71f52080ade')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000353084s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574bcce01d34c71f52080ade')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000363586s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000291847s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000281906s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bcce01d34c71f52080adf'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00038486s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bcce01d34c71f52080adf')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000259667s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00024092500000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000405782s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574bcce01d34c71f52080ae0'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}], "ordered"...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00032280000000000004s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000213497s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000882054s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000436296s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000432199s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000222368s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00028586599999999996s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bccf51d34c71f7176eebe'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.122398309s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574bccf51d34c71f7176eebe'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000694718s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574bccf51d34c71f7176eebe')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "name"=>"changed_name", "e...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000576456s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000318074s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000437011s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574bccf51d34c71f7176eebf'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}], "ordered"...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000476955s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000253615s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00050038s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000636585s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000592939s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00057138s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bccf51d34c71f7176eec0'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000696971s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bccf51d34c71f7176eec0')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000422993s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00037237s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000531743s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bccf51d34c71f7176eec1'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000585749s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574bccf51d34c71f7176eec1')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "name"=>"bhargav", "email"...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00098846s
----------------------------------
CoreExtTest: test_versioned_upsert
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00032616499999999995s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000343053s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bccf51d34c71f7176eec2'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000562171s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574bccf51d34c71f7176eec2'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000588704s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bccf51d34c71f7176eec2')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00029470200000000004s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000240241s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00031867s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bccf51d34c71f7176eec3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000411513s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574bccf51d34c71f7176eec3')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00045765199999999996s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bccf51d34c71f7176eec3')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000295288s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00025171899999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00031840199999999996s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574bccf51d34c71f7176eec4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bhargav"}], "orde...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000332871s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574bccf51d34c71f7176eec4')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00035681s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bccf51d34c71f7176eec4')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000272883s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00023785400000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000305091s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bccf51d34c71f7176eec5'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"r...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000433372s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000251163s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bccf51d34c71f7176eec5')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00029481500000000003s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000232874s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000306192s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bccf51d34c71f7176eec6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000408073s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bccf51d34c71f7176eec6')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000297979s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00026625499999999996s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000275628s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574bccf51d34c71f7176eec7'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bhargav"}], "orde...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00025955899999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bccf51d34c71f7176eec7')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00022360499999999998s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574bccf51d34c71f7176eec7')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000446039s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00028918s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bccf51d34c71f7176eec8'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000621673s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574bccf51d34c71f7176eec8')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "name"=>"bhargav", "email"...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000463879s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bccf51d34c71f7176eec8')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000256997s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000667807s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000411302s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bcd361d34c71fa7712519'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000667009s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574bcd361d34c71fa7712519')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00047976299999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bcd361d34c71fa7712519')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000257643s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000182776s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00025274600000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bcd361d34c71fa771251a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"r...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000391442s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00021476400000000002s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bcd361d34c71fa771251a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00025104s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00018384s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000261412s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bcd361d34c71fa771251b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "image_file_name"=>"facebook.p...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000779932s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000386318s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00039824s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574bcd371d34c71fa771251c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}], "ordered"...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000289569s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000175301s
----------------------------------
CoreExtTest: test_versioned_upsert
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000229563s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000261868s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bcd371d34c71fa771251d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000405003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574bcd371d34c71fa771251d'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000377216s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bcd371d34c71fa771251d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000222868s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00018313s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000243732s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bcd371d34c71fa771251e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00041853400000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574bcd371d34c71fa771251e')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "name"=>"bhargav", "email"...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000436748s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000228929s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000311288s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000338157s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00032146199999999995s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000305435s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bcd371d34c71fa771251f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.017766728000000002s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574bcd371d34c71fa771251f')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "name"=>"bhargav", "email"...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000477963s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bcd371d34c71fa771251f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00025684s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00023460400000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000371833s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574bcd371d34c71fa7712520'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bhargav"}], "orde...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000341164s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574bcd371d34c71fa7712520')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000421029s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bcd371d34c71fa7712520')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000285824s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000169991s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000243079s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574bcd371d34c71fa7712521'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bhargav"}], "orde...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000506184s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bcd371d34c71fa7712521')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000420842s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574bcd371d34c71fa7712521')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000600314s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000283101s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000335128s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bcd371d34c71fa7712522'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000462269s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bcd371d34c71fa7712522')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000291163s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00023947200000000001s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000328117s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bcd371d34c71fa7712523'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000453946s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bcd371d34c71fa7712523')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000290731s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000264307s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000350945s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bcd371d34c71fa7712524'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000475461s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574bcd371d34c71fa7712524'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000343681s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574bcd371d34c71fa7712524')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "name"=>"changed_name", "e...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000405094s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0011191060000000001s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0005866090000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bcd5d1d34c71fd783444a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000792085s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574bcd5d1d34c71fd783444a')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "name"=>"bhargav", "email"...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000627023s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bcd5d1d34c71fd783444a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000395115s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000284051s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000720941s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bcd5d1d34c71fd783444b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"r...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.016588239s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000303827s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bcd5d1d34c71fd783444b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000282448s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000246747s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000335405s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00036956s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00026393600000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00033615800000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bcd5d1d34c71fd783444c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "image_file_name"=>"facebook.p...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000904781s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00033016899999999995s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000362598s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bcd5d1d34c71fd783444d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000513302s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bcd5d1d34c71fd783444d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00040348999999999995s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000301209s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000585356s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574bcd5d1d34c71fd783444e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}], "ordered"...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00043689s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000252447s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000229059s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000355299s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bcd5d1d34c71fd783444f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000452257s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574bcd5d1d34c71fd783444f')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00048263s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bcd5d1d34c71fd783444f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000275692s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000223137s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00029400899999999997s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574bcd5d1d34c71fd7834450'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bhargav"}], "orde...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00031986600000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574bcd5d1d34c71fd7834450')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00035353100000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bcd5d1d34c71fd7834450')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00026533s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000228401s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0003526s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bcd5d1d34c71fd7834451'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000398808s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574bcd5d1d34c71fd7834451')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "name"=>"bhargav", "email"...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00046611900000000003s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000229654s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000279725s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bcd5d1d34c71fd7834452'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000364448s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bcd5d1d34c71fd7834452')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00023510500000000002s
----------------------------------
CoreExtTest: test_versioned_upsert
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00019280399999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000284157s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bcd5d1d34c71fd7834453'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00046778900000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574bcd5d1d34c71fd7834453'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000544853s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bcd5d1d34c71fd7834453')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00036621s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000377878s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00036798699999999996s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574bcd5d1d34c71fd7834454'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bhargav"}], "orde...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000375617s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bcd5d1d34c71fd7834454')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000239041s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574bcd5d1d34c71fd7834454')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00030264s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000207182s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000242823s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bcd5d1d34c71fd7834455'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00038775s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574bcd5d1d34c71fd7834455'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000362527s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574bcd5d1d34c71fd7834455')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "name"=>"changed_name", "e...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000286953s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0006194540000000001s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00045393399999999997s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574bcfba1d34c7214d70e82e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}], "ordered"...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00043331099999999997s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000327125s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000385707s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000330302s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bcfba1d34c7214d70e82f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000442798s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bcfba1d34c7214d70e82f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000285085s
--------------------------------------------------------
CoreExtTest: test_merging_optional_update_hash_on_update
--------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00030502000000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000355807s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000247585s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00025443899999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bcfba1d34c7214d70e830'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "image_file_name"=>"facebook.p...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.06774207700000001s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000510632s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0005856510000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bcfba1d34c7214d70e831'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000823024s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574bcfba1d34c7214d70e831'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0007770510000000001s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000429682s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0005867429999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bcfba1d34c7214d70e832'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.001030189s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000568357s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0006445089999999999s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574bcfba1d34c7214d70e833'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bhargav"}], "orde...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000559087s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574bcfba1d34c7214d70e833')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000678902s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bcfba1d34c7214d70e833')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000557182s
----------------------------------
CoreExtTest: test_versioned_upsert
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000596506s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000650687s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bcfba1d34c7214d70e834'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0007698879999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574bcfba1d34c7214d70e834'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00075902s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bcfba1d34c7214d70e834')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000486344s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000393072s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000501264s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000367584s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000412912s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bcfba1d34c7214d70e835'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000600916s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00037160700000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000474311s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bcfba1d34c7214d70e836'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000514316s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bcfba1d34c7214d70e836')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00038402799999999996s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00030170500000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000394666s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bcfba1d34c7214d70e837'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"r...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00052124s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000322174s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bcfba1d34c7214d70e837')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000343293s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000216285s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000349102s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574bcfba1d34c7214d70e838'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000752782s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00037989s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00047202299999999996s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000384308s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000348253s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000446585s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574bcfba1d34c7214d70e839'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bhargav"}], "orde...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000409495s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574bcfba1d34c7214d70e839')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000387731s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574bcfba1d34c7214d70e839')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000416127s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.001071066s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00070703s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c10921d34c708805bf7e3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.022792117s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00061498s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.041046828s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c10921d34c708805bf7e4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0006928269999999999s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000417334s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000476408s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c10921d34c708805bf7e5'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000633419s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c10921d34c708805bf7e5'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.008824348s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00045500200000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0005608140000000001s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000297108s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00034173600000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c10921d34c708805bf7e6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"r...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000557946s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000305386s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c10921d34c708805bf7e6')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00039917800000000003s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000295915s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00038933s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c10921d34c708805bf7e7'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bhargav"}], "orde...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00042241999999999996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c10921d34c708805bf7e7')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000472885s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c10921d34c708805bf7e7')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00037195299999999995s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000305477s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00040143899999999996s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c10921d34c708805bf7e8'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}], "ordered"...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000411777s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000307339s
----------------------------------
CoreExtTest: test_versioned_upsert
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000291794s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000385484s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c10921d34c708805bf7e9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000512578s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c10921d34c708805bf7e9'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000540837s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c10921d34c708805bf7e9')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000357735s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000394542s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000435077s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c10921d34c708805bf7ea'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bhargav"}], "orde...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000510503s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c10921d34c708805bf7ea')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000470968s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c10921d34c708805bf7ea')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000581173s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000397396s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000487179s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c10921d34c708805bf7eb'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000582361s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c10921d34c708805bf7eb')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00037144699999999996s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000314843s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000422308s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c10921d34c708805bf7ec'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000602296s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000316634s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00045682300000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c10921d34c708805bf7ed'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005795500000000001s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c10921d34c708805bf7ed')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00038315399999999997s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00030215300000000005s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00042304699999999996s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c10921d34c708805bf7ee'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "image_file_name"=>"facebook.p...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00123182s
--------------------------------------------------------
CoreExtTest: test_merging_optional_update_hash_on_update
--------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000480674s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0061910739999999995s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00041840700000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000453049s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000488594s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000518427s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000311091s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c11db1d34c7094350a984'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bhargav"}], "orde...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00042831000000000005s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c11db1d34c7094350a984')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000360584s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c11db1d34c7094350a984')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000402695s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000215879s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00028269600000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c11db1d34c7094350a985'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000403496s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c11db1d34c7094350a985')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00044842s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c11db1d34c7094350a985')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00034318600000000004s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000227198s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00037398900000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c11db1d34c7094350a986'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000352706s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c11db1d34c7094350a986')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "name"=>"bhargav", "email"...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00034355599999999996s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00018209700000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00022553500000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c11db1d34c7094350a987'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000433143s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c11db1d34c7094350a987')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000299835s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000308424s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000336055s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c11db1d34c7094350a988'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00039700799999999996s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c11db1d34c7094350a988'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00037074300000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c11db1d34c7094350a988')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "name"=>"changed_name", "e...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000282347s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000155724s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000208357s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c11db1d34c7094350a989'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}], "ordered"...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00025240099999999997s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000173458s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00014462s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000226181s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000267793s
--------------------------------------------------------
CoreExtTest: test_merging_optional_update_hash_on_update
--------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000182857s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000249122s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000172142s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000201382s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000159161s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000179132s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c11db1d34c7094350a98a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000332743s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c11db1d34c7094350a98a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000198636s
----------------------------------
CoreExtTest: test_versioned_upsert
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00016024s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000214884s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c11db1d34c7094350a98b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000295158s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c11db1d34c7094350a98b'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000347005s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c11db1d34c7094350a98b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000213102s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000166263s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000232958s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c11db1d34c7094350a98c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bhargav"}], "orde...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00034065s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c11db1d34c7094350a98c')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000371563s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c11db1d34c7094350a98c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000300842s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000230559s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00025254199999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c11db1d34c7094350a98d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"r...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000448124s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000279771s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c11db1d34c7094350a98d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000286575s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000182146s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000271779s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c11db1d34c7094350a98e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00045405799999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c11db1d34c7094350a98e')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "name"=>"bhargav", "email"...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000568795s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c11db1d34c7094350a98e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00031624500000000005s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000242881s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000328718s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c11db1d34c7094350a98f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "image_file_name"=>"facebook.p...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000534836s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000574276s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000473033s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c127d1d34c709b225a97e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0006453559999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c127d1d34c709b225a97e'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000567931s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c127d1d34c709b225a97e')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "name"=>"changed_name", "e...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00045479s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00029381s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000386124s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c127d1d34c709b225a97f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000528029s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c127d1d34c709b225a97f')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "name"=>"bhargav", "email"...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000608629s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c127d1d34c709b225a97f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000386734s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000234009s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000352223s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c127d1d34c709b225a980'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"r...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000493927s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000243583s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c127d1d34c709b225a980')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000287072s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000287404s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00036636s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c127d1d34c709b225a981'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "image_file_name"=>"facebook.p...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0011782729999999999s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000521487s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000613084s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c127d1d34c709b225a982'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000727646s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c127d1d34c709b225a982')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "name"=>"bhargav", "email"...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000844327s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000415691s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000399487s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000455376s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00038165199999999996s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.007884615000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c127d1d34c709b225a983'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000720977s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c127d1d34c709b225a983')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000618319s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c127d1d34c709b225a983')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.0006765790000000001s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000554776s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000724624s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c127d1d34c709b225a984'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000664161s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c127d1d34c709b225a984')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000347119s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000299859s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000412094s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c127d1d34c709b225a985'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000557865s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c127d1d34c709b225a985')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000359692s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00028247s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00038399399999999997s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c127d1d34c709b225a986'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}], "ordered"...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00042914099999999996s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000278713s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000215215s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000371302s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c127d1d34c709b225a987'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bhargav"}], "orde...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000362458s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c127d1d34c709b225a987')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000424453s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c127d1d34c709b225a987')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000336791s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000320619s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000409649s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c127d1d34c709b225a988'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bhargav"}], "orde...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00036732800000000004s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c127d1d34c709b225a988')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00031316199999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c127d1d34c709b225a988')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000417382s
--------------------------------------------------------
CoreExtTest: test_merging_optional_update_hash_on_update
--------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000361669s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00038895799999999996s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000341184s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000521552s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c127d1d34c709b225a989'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "email"=>"bhargav.r.raut@gmail...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000661942s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c127d1d34c709b225a989')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "email"=>"bhargav.r.raut@gmail.com", "na...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000486175s
----------------------------------
CoreExtTest: test_versioned_upsert
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000305344s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000407086s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c127d1d34c709b225a98a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005660410000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c127d1d34c709b225a98a'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000649012s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c127d1d34c709b225a98a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000412628s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000660147s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000567048s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c12b51d34c709cdc6f41b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}], "ordered"...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000469347s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000275386s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000223611s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000331935s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c12b51d34c709cdc6f41c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bhargav"}], "orde...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00038346399999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c12b51d34c709cdc6f41c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000343271s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c12b51d34c709cdc6f41c')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00043186s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000255669s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000398963s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c12b51d34c709cdc6f41d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000527462s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c12b51d34c709cdc6f41d')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "name"=>"bhargav", "email"...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000409565s
----------------------------------
CoreExtTest: test_versioned_upsert
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000201789s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000272571s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c12b51d34c709cdc6f41e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000518984s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c12b51d34c709cdc6f41e'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000880624s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c12b51d34c709cdc6f41e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00039622699999999997s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000268789s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000414101s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c12b51d34c709cdc6f41f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000502851s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c12b51d34c709cdc6f41f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000312562s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000236076s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000363419s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c12b51d34c709cdc6f420'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000510878s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c12b51d34c709cdc6f420')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "name"=>"bhargav", "email"...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000610949s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c12b51d34c709cdc6f420')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000327931s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00026270600000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000370139s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c12b51d34c709cdc6f421'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"r...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000437872s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000250495s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c12b51d34c709cdc6f421')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000285101s
--------------------------------------------------------
CoreExtTest: test_merging_optional_update_hash_on_update
--------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00022365s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00036530199999999997s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000202726s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000293061s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c12b51d34c709cdc6f422'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0004976420000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c12b51d34c709cdc6f422')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000560003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c12b51d34c709cdc6f422')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00036375700000000003s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000254934s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.025327446s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c12b51d34c709cdc6f423'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000859918s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c12b51d34c709cdc6f423'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000929624s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c12b51d34c709cdc6f423')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "name"=>"changed_name", "e...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000670483s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00043763s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0005179539999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c12b51d34c709cdc6f424'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "image_file_name"=>"facebook.p...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000905283s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000422834s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000492089s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c12b51d34c709cdc6f425'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "name"=>"bhargav", "email"=>"b...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000754442s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c12b51d34c709cdc6f425')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000487405s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00045282300000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000497982s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c12b51d34c709cdc6f426'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "email"=>"bhargav.r.raut@gmail...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000521083s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c12b51d34c709cdc6f426')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "email"=>"bhargav.r.raut@gmail.com", "na...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000469509s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c12b51d34c709cdc6f426')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00041794600000000004s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00030774499999999995s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00039450900000000003s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000377913s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000274366s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000349504s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c12b51d34c709cdc6f427'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bhargav"}], "orde...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00045426099999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c12b51d34c709cdc6f427')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000531024s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c12b51d34c709cdc6f427')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000331835s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000624722s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00040745800000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c13c81d34c70a4aba5151'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00048632600000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c13c81d34c70a4aba5151')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000384581s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000260035s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000266429s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c13c81d34c70a4aba5152'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00033457500000000004s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c13c81d34c70a4aba5152')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000204181s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00015596000000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000223529s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c13c81d34c70a4aba5153'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav....
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00030398s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c13c81d34c70a4aba5153')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gma...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000352101s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c13c81d34c70a4aba5153')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000288422s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000245858s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00044680800000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c13c81d34c70a4aba5154'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000509456s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c13c81d34c70a4aba5154')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000370886s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00026863500000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00032944599999999995s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c13c81d34c70a4aba5155'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000422056s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c13c81d34c70a4aba5155')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000383789s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c13c81d34c70a4aba5155')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000214296s
----------------------------------------------
CoreExtTest: test_merging_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00016099299999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00022573300000000002s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000166952s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000179529s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c13c81d34c70a4aba5156'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "image_file_name"=...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00054557s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000357151s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000303116s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c13c81d34c70a4aba5157'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000991849s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000308813s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c13c81d34c70a4aba5157')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00025964499999999997s
----------------------------------
CoreExtTest: test_versioned_upsert
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000154677s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00024296900000000002s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c13c81d34c70a4aba5158'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000461489s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c13c81d34c70a4aba5158'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00048522400000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c13c81d34c70a4aba5158')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00021459700000000002s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000174845s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000252139s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00026694s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000214749s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000344526s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c13c81d34c70a4aba5159'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.003328116s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c13c81d34c70a4aba5159'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000492499s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c13c81d34c70a4aba5159')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"chang...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000572173s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000327827s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000394375s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c13c81d34c70a4aba515a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00042302700000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c13c81d34c70a4aba515a')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000444586s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c13c81d34c70a4aba515a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00021476699999999999s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000166819s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000229564s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c13c81d34c70a4aba515b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000305368s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c13c81d34c70a4aba515b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000226176s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c13c81d34c70a4aba515b')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000318868s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000164243s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000246845s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c13c81d34c70a4aba515c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00035124099999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c13c81d34c70a4aba515c')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000421565s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c13c81d34c70a4aba515c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00020808300000000002s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00015728200000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000220651s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c13c81d34c70a4aba515d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000238672s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000177025s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0005241909999999999s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000387181s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c14921d34c70a8129719d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000685286s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c14921d34c70a8129719d'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00046397699999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c14921d34c70a8129719d')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"chang...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000436342s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000253888s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000255425s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c14921d34c70a8129719e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000320734s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c14921d34c70a8129719e')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000365924s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c14921d34c70a8129719e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000221364s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00016131299999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000232856s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c14921d34c70a8129719f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00045817s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c14921d34c70a8129719f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00027459s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c14921d34c70a8129719f')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00031224299999999997s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000223564s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00024675799999999997s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000280605s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000199878s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000223427s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c14921d34c70a812971a0'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.021288134s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c14921d34c70a812971a0')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00046216400000000004s
----------------------------------------------
CoreExtTest: test_merging_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000303907s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000343821s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c14921d34c70a812971a1'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav....
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000460443s
----------------------------------
CoreExtTest: test_versioned_upsert
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00027356s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000315942s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c14921d34c70a812971a2'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00042281299999999996s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c14921d34c70a812971a2'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000424878s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c14921d34c70a812971a2')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00028996100000000004s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000162426s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000246274s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c14921d34c70a812971a3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000312826s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c14921d34c70a812971a3')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00043333s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00025238400000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0003629s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c14921d34c70a812971a4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000468108s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c14921d34c70a812971a4')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000335789s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00025928800000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000360305s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c14921d34c70a812971a5'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000332793s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00018828s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c14921d34c70a812971a5')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000263875s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00022737200000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000407013s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c14921d34c70a812971a6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00049882s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c14921d34c70a812971a6')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000484865s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c14921d34c70a812971a6')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000360142s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000248678s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000248823s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c14921d34c70a812971a7'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00032483699999999997s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000231773s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00016776699999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000288268s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c14921d34c70a812971a8'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav....
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00035759s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c14921d34c70a812971a8')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gma...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000338428s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c14921d34c70a812971a8')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000276206s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000199026s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00026881800000000004s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c14921d34c70a812971a9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000266137s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c14921d34c70a812971a9')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00045705400000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c14921d34c70a812971a9')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000364495s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000240686s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00029773699999999996s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c14921d34c70a812971aa'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "image_file_name"=...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000852729s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00065805s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000419122s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c14b11d34c70aa11e791d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000466475s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c14b11d34c70aa11e791d')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000421595s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00020353s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000243049s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c14b11d34c70aa11e791e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000232359s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000159628s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00014989799999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000208848s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c14b11d34c70aa11e791f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav....
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000513904s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c14b11d34c70aa11e791f')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gma...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000460933s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c14b11d34c70aa11e791f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000440726s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000198972s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000374473s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c14b11d34c70aa11e7920'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000424067s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000191347s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c14b11d34c70aa11e7920')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00021068400000000002s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000221247s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00021927699999999998s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c14b11d34c70aa11e7921'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000328041s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c14b11d34c70aa11e7921')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000340584s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c14b11d34c70aa11e7921')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000187005s
----------------------------------
CoreExtTest: test_versioned_upsert
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000142472s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000227184s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c14b11d34c70aa11e7922'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000438503s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c14b11d34c70aa11e7922'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.001550372s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c14b11d34c70aa11e7922')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000326624s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000216739s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000264543s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c14b11d34c70aa11e7923'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000347629s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c14b11d34c70aa11e7923')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000234207s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000194833s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00025265600000000003s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c14b11d34c70aa11e7924'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00029648200000000004s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c14b11d34c70aa11e7924')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00031275300000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c14b11d34c70aa11e7924')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00021533900000000002s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000179554s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000239546s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c14b11d34c70aa11e7925'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00036116s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c14b11d34c70aa11e7925'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00056686s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c14b11d34c70aa11e7925')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"chang...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000592995s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000336256s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000355244s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c14b11d34c70aa11e7926'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00039165099999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c14b11d34c70aa11e7926')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000261397s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c14b11d34c70aa11e7926')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0004089s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000230991s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000263239s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c14b11d34c70aa11e7927'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "image_file_name"=...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000595677s
----------------------------------------------
CoreExtTest: test_merging_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000397387s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000426216s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c14b11d34c70aa11e7928'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav....
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000411559s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c14b11d34c70aa11e7928')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhar...
MONGODB | localhost:27017 | dummy_test.findandmodify | FAILED | exception: Cannot update 'likes' and 'likes' at the same time (16837) | 0.050202112s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000387534s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.034674688999999995s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c14b11d34c70aa11e7929'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000466331s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c14b11d34c70aa11e7929')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00034086999999999995s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00024501600000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00030852200000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c14b11d34c70aa11e792a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00042262699999999996s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c14b11d34c70aa11e792a')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000477273s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c14b11d34c70aa11e792a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000294304s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000262249s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000327806s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000334709s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000526676s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000256947s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c152c1d34c70ad6628fc0'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000549177s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c152c1d34c70ad6628fc0')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000246552s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000169963s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000233705s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c152c1d34c70ad6628fc1'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00034232s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c152c1d34c70ad6628fc1')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00039218s
----------------------------------------------
CoreExtTest: test_merging_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000244797s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000299369s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c152c1d34c70ad6628fc2'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav....
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00032441999999999996s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c152c1d34c70ad6628fc2')}, "update"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00045611899999999995s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00032662500000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00041812s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c152c1d34c70ad6628fc3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000560559s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c152c1d34c70ad6628fc3')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000368149s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000229039s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000213851s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c152c1d34c70ad6628fc4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000295892s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c152c1d34c70ad6628fc4'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00032218199999999996s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c152c1d34c70ad6628fc4')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"chang...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000250357s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00014045300000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000200682s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c152c1d34c70ad6628fc5'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00030274800000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c152c1d34c70ad6628fc5')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000804673s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c152c1d34c70ad6628fc5')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000220113s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000167856s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000217702s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c152c1d34c70ad6628fc6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000244998s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000254379s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000220935s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00030324700000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c152c1d34c70ad6628fc7'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000415075s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c152c1d34c70ad6628fc7')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000420416s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c152c1d34c70ad6628fc7')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000263922s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00016774900000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000223267s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c152c1d34c70ad6628fc8'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00022524400000000001s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c152c1d34c70ad6628fc8')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000197778s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c152c1d34c70ad6628fc8')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000352104s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000183507s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00023387499999999998s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00027125099999999997s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000221591s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000257395s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c152c1d34c70ad6628fc9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav....
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000388734s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c152c1d34c70ad6628fc9')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gma...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000387031s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c152c1d34c70ad6628fc9')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000293288s
----------------------------------
CoreExtTest: test_versioned_upsert
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000175064s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000229172s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c152c1d34c70ad6628fca'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000369287s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c152c1d34c70ad6628fca'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000377791s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c152c1d34c70ad6628fca')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000427614s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00026147s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00030975699999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c152c1d34c70ad6628fcb'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "image_file_name"=...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00060008s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000297003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000355163s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c152c1d34c70ad6628fcc'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000353919s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000177507s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c152c1d34c70ad6628fcc')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00020592400000000002s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000182086s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.018631718000000002s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c152c1d34c70ad6628fcd'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000543282s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c152c1d34c70ad6628fcd')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00044420500000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c152c1d34c70ad6628fcd')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000243471s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000551576s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000319413s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c15481d34c70af68a9f10'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000335294s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c15481d34c70af68a9f10')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000332283s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c15481d34c70af68a9f10')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000223169s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00016728699999999999s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000226602s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c15481d34c70af68a9f11'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000450132s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c15481d34c70af68a9f11')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000392269s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00016778s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000217316s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c15481d34c70af68a9f12'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000586671s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c15481d34c70af68a9f12')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000291579s
----------------------------------
CoreExtTest: test_versioned_upsert
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000402723s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000400905s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c15481d34c70af68a9f13'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00048415000000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c15481d34c70af68a9f13'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00046614700000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c15481d34c70af68a9f13')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000263582s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00021747299999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000292953s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c15481d34c70af68a9f14'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00041346600000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c15481d34c70af68a9f14'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000447838s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c15481d34c70af68a9f14')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"chang...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000363128s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000218526s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000288841s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c15481d34c70af68a9f15'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00033651899999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c15481d34c70af68a9f15')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000405939s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c15481d34c70af68a9f15')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000249631s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000187677s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00027449099999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c15481d34c70af68a9f16'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "image_file_name"=...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000658824s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000383373s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.023551962s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c15481d34c70af68a9f17'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005779699999999999s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000288919s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c15481d34c70af68a9f17')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000287765s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000254158s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00035331100000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c15481d34c70af68a9f18'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000499796s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c15481d34c70af68a9f18')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005600889999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c15481d34c70af68a9f18')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00042122000000000004s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00032986399999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000415164s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c15481d34c70af68a9f19'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000566969s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c15481d34c70af68a9f19')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000384055s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000308964s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000447419s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c15481d34c70af68a9f1a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000529214s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00032573s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00028551s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000461361s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c15481d34c70af68a9f1b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav....
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00054813s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c15481d34c70af68a9f1b')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gma...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000514673s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c15481d34c70af68a9f1b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000256806s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00035593699999999996s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000574443s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c15481d34c70af68a9f1c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav....
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000687375s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c15481d34c70af68a9f1c')}, "update"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005720339999999999s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000397772s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00038868100000000004s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000309556s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000324002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000381619s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c15481d34c70af68a9f1d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000411851s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c15481d34c70af68a9f1d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000335419s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c15481d34c70af68a9f1d')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000469737s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0005421860000000001s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00034680999999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c15631d34c70b18a2a589'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav....
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005360230000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c15631d34c70b18a2a589')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gma...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00039554s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c15631d34c70b18a2a589')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00027117s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000217369s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00029094200000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c15631d34c70b18a2a58a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00047868s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c15631d34c70b18a2a58a')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000544751s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000214436s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00025096200000000003s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c15631d34c70b18a2a58b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00030914500000000004s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000339085s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00031240900000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00036763000000000003s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c15631d34c70b18a2a58c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000374886s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c15631d34c70b18a2a58c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000290024s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c15631d34c70b18a2a58c')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00026028300000000004s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00016840800000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00021456100000000002s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c15631d34c70b18a2a58d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "image_file_name"=...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0006360760000000001s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000300448s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000357376s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00035092s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000187568s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000203895s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c15631d34c70b18a2a58e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000472362s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c15631d34c70b18a2a58e')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000541859s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c15631d34c70b18a2a58e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00033096899999999997s
----------------------------------
CoreExtTest: test_versioned_upsert
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000286997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000234804s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c15631d34c70b18a2a58f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0006045299999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c15631d34c70b18a2a58f'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0006157339999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c15631d34c70b18a2a58f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000280872s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000262742s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00035947199999999995s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c15631d34c70b18a2a590'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00038049199999999996s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c15631d34c70b18a2a590')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000288248s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00025998799999999995s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0034177879999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c15631d34c70b18a2a591'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000601858s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00037595799999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c15631d34c70b18a2a591')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00033630899999999997s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00026161800000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000293247s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c15631d34c70b18a2a592'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00033716s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c15631d34c70b18a2a592')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000417382s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c15631d34c70b18a2a592')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00022435100000000002s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000181743s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00023837200000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c15631d34c70b18a2a593'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav....
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000360267s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c15631d34c70b18a2a593')}, "update"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00046405899999999996s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c15631d34c70b18a2a593')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000266758s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000197879s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000357512s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c15631d34c70b18a2a594'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005727989999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c15631d34c70b18a2a594')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000457896s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00029967700000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00032324s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c15641d34c70b18a2a595'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000309321s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c15641d34c70b18a2a595')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000295557s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c15641d34c70b18a2a595')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00023488s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000196481s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00025321599999999996s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c15641d34c70b18a2a596'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00038901399999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c15641d34c70b18a2a596'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00038909s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c15641d34c70b18a2a596')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"chang...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000273142s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000641002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000473989s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c15911d34c70b3baaeafc'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000656943s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c15911d34c70b3baaeafc')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005778970000000001s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c15911d34c70b3baaeafc')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000272681s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00016808s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000234967s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c15911d34c70b3baaeafd'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0003088s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c15911d34c70b3baaeafd')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000200665s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000161922s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00020991300000000002s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c15911d34c70b3baaeafe'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000232245s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c15911d34c70b3baaeafe')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000317614s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c15911d34c70b3baaeafe')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00023535699999999998s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000190618s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000220045s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c15911d34c70b3baaeaff'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000349557s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c15911d34c70b3baaeaff')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000312424s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c15911d34c70b3baaeaff')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000396605s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00015524699999999999s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000316569s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c15911d34c70b3baaeb00'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000374986s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c15911d34c70b3baaeb00')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00034877000000000004s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c15911d34c70b3baaeb00')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00023732799999999997s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000182221s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00022252s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c15911d34c70b3baaeb01'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000319301s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c15911d34c70b3baaeb01')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000507676s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00028078s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.01884704s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c15911d34c70b3baaeb02'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00048466899999999996s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00035741s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000216459s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000261342s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c15911d34c70b3baaeb03'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav....
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000344613s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c15911d34c70b3baaeb03')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gma...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000296536s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c15911d34c70b3baaeb03')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00024251900000000001s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000238503s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000240102s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000333757s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000185784s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00028945s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c15911d34c70b3baaeb04'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00035135799999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c15911d34c70b3baaeb04')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000249684s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00015349000000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000219554s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c15911d34c70b3baaeb05'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000414563s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000250438s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c15911d34c70b3baaeb05')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000396296s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000214785s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00025165800000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c15911d34c70b3baaeb06'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "image_file_name"=...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000553893s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000370397s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000366584s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c15911d34c70b3baaeb07'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav....
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000612268s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c15911d34c70b3baaeb07')}, "update"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000449567s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c15911d34c70b3baaeb07')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00033559899999999996s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000260283s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000264139s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c15911d34c70b3baaeb08'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000335751s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c15911d34c70b3baaeb08'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000355912s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c15911d34c70b3baaeb08')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"chang...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000273062s
----------------------------------
CoreExtTest: test_versioned_upsert
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000274289s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000274011s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c15911d34c70b3baaeb09'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000340833s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c15911d34c70b3baaeb09'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000306318s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c15911d34c70b3baaeb09')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000208094s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0006758490000000001s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000534497s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000406963s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00030883500000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000356866s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c18f51d34c70bb14d41bb'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000487284s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00027702900000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c18f51d34c70bb14d41bb')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00031864100000000004s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000241119s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00030276799999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c18f51d34c70bb14d41bc'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000453999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c18f51d34c70bb14d41bc'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00047023999999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c18f51d34c70bb14d41bc')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"chang...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00036658299999999997s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000267282s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00033074700000000005s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c18f51d34c70bb14d41bd'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav....
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000384454s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c18f51d34c70bb14d41bd')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gma...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00035597199999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c18f51d34c70bb14d41bd')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000329495s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000275955s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000385508s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c18f51d34c70bb14d41be'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000508518s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c18f51d34c70bb14d41be')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000332685s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000232219s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000288443s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c18f51d34c70bb14d41bf'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000294349s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000220067s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000152313s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000216524s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c18f51d34c70bb14d41c0'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000342564s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c18f51d34c70bb14d41c0')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000372321s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000224716s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00030071s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c18f51d34c70bb14d41c1'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00047040600000000004s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c18f51d34c70bb14d41c1')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000351817s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c18f51d34c70bb14d41c1')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005469870000000001s
----------------------------------
CoreExtTest: test_versioned_upsert
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000472979s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00037075000000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c18f51d34c70bb14d41c2'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000458257s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c18f51d34c70bb14d41c2'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000481237s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c18f51d34c70bb14d41c2')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000278917s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000192558s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00026698900000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c18f51d34c70bb14d41c3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000461152s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c18f51d34c70bb14d41c3')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00025016700000000003s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000165872s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000225823s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c18f51d34c70bb14d41c4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "image_file_name"=...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005625399999999999s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00044171399999999995s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000469723s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c18f51d34c70bb14d41c5'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav....
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000495487s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c18f51d34c70bb14d41c5')}, "update"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000499614s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c18f51d34c70bb14d41c5')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00032174300000000004s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000245769s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000326481s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c18f51d34c70bb14d41c6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.014640918s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c18f51d34c70bb14d41c6')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000520005s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c18f51d34c70bb14d41c6')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000300349s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00025483s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00035153500000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c18f51d34c70bb14d41c7'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000418558s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c18f51d34c70bb14d41c7')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00044735900000000004s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c18f51d34c70bb14d41c7')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00031810599999999997s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00029679s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000250844s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c18f51d34c70bb14d41c8'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000266415s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c18f51d34c70bb14d41c8')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000283287s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c18f51d34c70bb14d41c8')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000215174s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0007262729999999999s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00041260200000000003s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c1b3a1d34c70c168817a1'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000375594s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000246473s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000150319s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000223933s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1b3a1d34c70c168817a2'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00037606s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1b3a1d34c70c168817a2')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000325703s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00025341999999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000310544s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1b3a1d34c70c168817a3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav....
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000398101s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c1b3a1d34c70c168817a3')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gma...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000312207s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1b3a1d34c70c168817a3')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000276859s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000224945s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000305098s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1b3a1d34c70c168817a4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000437215s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c1b3a1d34c70c168817a4')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000384871s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1b3a1d34c70c168817a4')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000278311s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000207327s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000237549s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c1b3a1d34c70c168817a5'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000232027s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1b3a1d34c70c168817a5')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000204317s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c1b3a1d34c70c168817a5')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000321239s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000173294s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000219388s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1b3a1d34c70c168817a6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000321502s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000332897s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1b3a1d34c70c168817a6')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00028881s
----------------------------------
CoreExtTest: test_versioned_upsert
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000301564s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000390234s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1b3a1d34c70c168817a7'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00039391599999999996s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c1b3a1d34c70c168817a7'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00035421599999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1b3a1d34c70c168817a7')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000206039s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000158393s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000242118s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1b3a1d34c70c168817a8'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav....
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000434723s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c1b3a1d34c70c168817a8')}, "update"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000412293s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000270919s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000267828s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c1b3a1d34c70c168817a9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000283453s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c1b3a1d34c70c168817a9')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000293643s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1b3a1d34c70c168817a9')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000231359s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000193511s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00020991300000000002s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1b3a1d34c70c168817aa'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "image_file_name"=...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000532488s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00042487600000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000372091s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1b3a1d34c70c168817ab'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000517497s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c1b3a1d34c70c168817ab')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000497489s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1b3a1d34c70c168817ab')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000322663s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000244931s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000300779s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1b3a1d34c70c168817ac'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00036481400000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1b3a1d34c70c168817ac')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00029202s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00027016400000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000297502s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000248004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00029450900000000004s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000370683s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00036368800000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000497885s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1b3a1d34c70c168817ad'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.003375426s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c1b3a1d34c70c168817ad')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000531565s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00027412499999999995s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000292166s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1b3a1d34c70c168817ae'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000422566s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c1b3a1d34c70c168817ae'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000430489s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c1b3a1d34c70c168817ae')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"chang...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000426399s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000629471s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000426572s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1bca1d34c70c6c7ee184'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000613419s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c1bca1d34c70c6c7ee184')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005158890000000001s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000239204s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00029997600000000003s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c1bca1d34c70c6c7ee185'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000291912s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000192572s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000194799s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000280891s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1bca1d34c70c6c7ee186'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000412715s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1bca1d34c70c6c7ee186')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000292075s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000213137s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000294451s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1bca1d34c70c6c7ee187'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000392406s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c1bca1d34c70c6c7ee187')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000730815s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1bca1d34c70c6c7ee187')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000401517s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000317721s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000298075s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000262986s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000200096s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00025047s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1bcb1d34c70c6c7ee188'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00042669500000000005s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c1bcb1d34c70c6c7ee188')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000553409s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1bcb1d34c70c6c7ee188')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00029109000000000003s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000213169s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000301719s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c1bcb1d34c70c6c7ee189'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000260887s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1bcb1d34c70c6c7ee189')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000221382s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c1bcb1d34c70c6c7ee189')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000342899s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00018557399999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000302736s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000187964s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00021209200000000002s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c1bcb1d34c70c6c7ee18a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000303699s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c1bcb1d34c70c6c7ee18a')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000417751s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1bcb1d34c70c6c7ee18a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000302277s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000219922s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000309236s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1bcb1d34c70c6c7ee18b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav....
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000504738s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c1bcb1d34c70c6c7ee18b')}, "update"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00043108299999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1bcb1d34c70c6c7ee18b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000208476s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00015861s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000236259s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1bcb1d34c70c6c7ee18c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav....
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00030196s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c1bcb1d34c70c6c7ee18c')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gma...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00027792s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1bcb1d34c70c6c7ee18c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000206494s
----------------------------------
CoreExtTest: test_versioned_upsert
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000155274s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00021318s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1bcb1d34c70c6c7ee18d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00030131900000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c1bcb1d34c70c6c7ee18d'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000408738s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1bcb1d34c70c6c7ee18d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00028956399999999997s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000293443s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00029397600000000005s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1bcb1d34c70c6c7ee18e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00045575s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1bcb1d34c70c6c7ee18e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.0002951s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000227817s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000232871s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1bcb1d34c70c6c7ee18f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000348422s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c1bcb1d34c70c6c7ee18f'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000384967s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c1bcb1d34c70c6c7ee18f')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"chang...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000256035s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000156114s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000207465s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1bcb1d34c70c6c7ee190'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "image_file_name"=...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.027542205s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000437446s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000369701s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1bcb1d34c70c6c7ee191'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0006102379999999999s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000346114s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1bcb1d34c70c6c7ee191')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.0005177199999999999s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
----------------------------------
CoreExtTest: test_versioned_upsert
----------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0005970659999999999s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00032223099999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1c0f1d34c70c9f818036'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00046575s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c1c0f1d34c70c9f818036'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0007393359999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1c0f1d34c70c9f818036')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00030769900000000004s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000328004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000312194s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1c0f1d34c70c9f818037'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00045795s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1c0f1d34c70c9f818037')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000370313s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000218031s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000311311s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000292395s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000272163s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000356134s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1c0f1d34c70c9f818038'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00047717s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1c0f1d34c70c9f818038')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00038440100000000004s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00028055500000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000284324s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1c0f1d34c70c9f818039'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "image_file_name"=...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00087856s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000367524s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000458466s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1c0f1d34c70c9f81803a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000580585s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c1c0f1d34c70c9f81803a')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005680049999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1c0f1d34c70c9f81803a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000286971s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000220024s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000320995s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1c0f1d34c70c9f81803b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000603179s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c1c0f1d34c70c9f81803b')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000547766s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000243069s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00030406599999999997s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c1c0f1d34c70c9f81803c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000286994s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c1c0f1d34c70c9f81803c')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00033203100000000005s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1c0f1d34c70c9f81803c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000355065s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00024495s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00027164599999999995s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1c0f1d34c70c9f81803d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000553543s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c1c0f1d34c70c9f81803d'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000552424s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c1c0f1d34c70c9f81803d')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"chang...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000430424s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00027065s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000311572s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1c0f1d34c70c9f81803e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav....
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000471661s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c1c0f1d34c70c9f81803e')}, "update"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00035251099999999996s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1c0f1d34c70c9f81803e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00021923s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00017324s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000252599s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c1c0f1d34c70c9f81803f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000252598s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1c0f1d34c70c9f81803f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000273229s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c1c0f1d34c70c9f81803f')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000342841s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00016646600000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000239055s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1c0f1d34c70c9f818040'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav....
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00035981s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c1c0f1d34c70c9f818040')}, "update"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000311895s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1c0f1d34c70c9f818040')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000385386s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000222297s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000310332s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1c0f1d34c70c9f818041'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.007311580000000001s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00024314699999999998s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1c0f1d34c70c9f818041')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000216032s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000170997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000283891s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c1c0f1d34c70c9f818042'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000511245s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00032644099999999996s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00026848999999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000351795s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1c0f1d34c70c9f818043'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000311888s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c1c0f1d34c70c9f818043')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000387043s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1c0f1d34c70c9f818043')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00022884999999999998s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00014506800000000001s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00022577s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1c0f1d34c70c9f818044'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav....
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000379638s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c1c0f1d34c70c9f818044')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gma...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000418992s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1c0f1d34c70c9f818044')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000220648s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00046138500000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000289581s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1c2b1d34c70cc54a8f67'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav....
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005605569999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c1c2b1d34c70cc54a8f67')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gma...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00034076800000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1c2b1d34c70cc54a8f67')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00024853799999999997s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00019045s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000267001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1c2b1d34c70cc54a8f68'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000467756s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c1c2b1d34c70cc54a8f68')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000417386s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1c2b1d34c70cc54a8f68')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000255876s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000210706s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000241934s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1c2b1d34c70cc54a8f69'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000374428s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1c2b1d34c70cc54a8f69')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000340275s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000206444s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00032317099999999997s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c1c2b1d34c70cc54a8f6a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000384632s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1c2b1d34c70cc54a8f6a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000301506s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c1c2b1d34c70cc54a8f6a')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000263129s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000156872s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000212927s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c1c2b1d34c70cc54a8f6b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00021705000000000002s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c1c2b1d34c70cc54a8f6b')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000295594s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1c2b1d34c70cc54a8f6b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000196665s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00015481000000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00022592s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1c2b1d34c70cc54a8f6c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "image_file_name"=...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.014147143000000001s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000330929s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000384711s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1c2b1d34c70cc54a8f6d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00053756s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000266904s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1c2b1d34c70cc54a8f6d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000267187s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000246606s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000391723s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1c2b1d34c70cc54a8f6e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000489782s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1c2b1d34c70cc54a8f6e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000229177s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00025034499999999996s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00031523600000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1c2b1d34c70cc54a8f6f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000369993s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c1c2b1d34c70cc54a8f6f')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000407801s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000216932s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000253807s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1c2b1d34c70cc54a8f70'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000365956s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c1c2b1d34c70cc54a8f70'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000413829s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c1c2b1d34c70cc54a8f70')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"chang...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00047141900000000005s
----------------------------------
CoreExtTest: test_versioned_upsert
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000371105s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000331775s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1c2b1d34c70cc54a8f71'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000595945s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c1c2b1d34c70cc54a8f71'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000581077s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1c2b1d34c70cc54a8f71')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000202649s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000257186s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00028524899999999995s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1c2b1d34c70cc54a8f72'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav....
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00036329699999999995s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c1c2b1d34c70cc54a8f72')}, "update"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00032464200000000004s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1c2b1d34c70cc54a8f72')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000261601s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000220742s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000227917s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000313526s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000289328s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000292108s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c1c2b1d34c70cc54a8f73'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000377134s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000188314s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00015893800000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00022450699999999998s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1c2b1d34c70cc54a8f74'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000319896s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c1c2b1d34c70cc54a8f74')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000360901s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1c2b1d34c70cc54a8f74')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000389195s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00038568999999999995s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000283305s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1c2b1d34c70cc54a8f75'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav....
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000498561s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c1c2b1d34c70cc54a8f75')}, "update"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000450351s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000564803s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000292213s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c1c401d34c70cdf2c2e10'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000415917s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1c401d34c70cdf2c2e10')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000264777s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c1c401d34c70cdf2c2e10')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000352108s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000170749s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000269248s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1c401d34c70cdf2c2e11'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000555692s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00022576699999999998s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1c401d34c70cdf2c2e11')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000346587s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000225478s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000298866s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1c401d34c70cdf2c2e12'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00044879100000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c1c401d34c70cdf2c2e12'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000456538s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c1c401d34c70cdf2c2e12')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"chang...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00029960100000000003s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000174156s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00022663500000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1c401d34c70cdf2c2e13'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00030545299999999996s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1c401d34c70cdf2c2e13')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000198085s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00017143s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000215296s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c1c401d34c70cdf2c2e14'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.02098323s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c1c401d34c70cdf2c2e14')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000416997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1c401d34c70cdf2c2e14')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00034484100000000003s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000359814s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000338917s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1c401d34c70cdf2c2e15'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav....
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000533006s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c1c401d34c70cdf2c2e15')}, "update"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000377635s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1c401d34c70cdf2c2e15')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000249638s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000258653s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000548608s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1c401d34c70cdf2c2e16'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav....
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005135130000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c1c401d34c70cdf2c2e16')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gma...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00049466s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1c401d34c70cdf2c2e16')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000283791s
----------------------------------
CoreExtTest: test_versioned_upsert
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00025301s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000359118s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1c401d34c70cdf2c2e17'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000492431s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c1c401d34c70cdf2c2e17'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000522074s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1c401d34c70cdf2c2e17')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000394022s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000300512s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00032995s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1c401d34c70cdf2c2e18'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav....
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00043738399999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c1c401d34c70cdf2c2e18')}, "update"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00039488399999999997s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00024301500000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000257694s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c1c401d34c70cdf2c2e19'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000407783s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000266177s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000192831s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000264036s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1c401d34c70cdf2c2e1a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000521098s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c1c401d34c70cdf2c2e1a')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0006150039999999999s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00034171399999999996s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0004958289999999999s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000291673s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000208774s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00030729600000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1c401d34c70cdf2c2e1b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005614239999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c1c401d34c70cdf2c2e1b')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0006223450000000001s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1c401d34c70cdf2c2e1b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00027585999999999995s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00017937700000000001s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000251893s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1c401d34c70cdf2c2e1c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "image_file_name"=...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000568839s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000277581s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000274867s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1c401d34c70cdf2c2e1d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000368569s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c1c401d34c70cdf2c2e1d')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000400664s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1c401d34c70cdf2c2e1d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000266709s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00021637000000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00034323000000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1c401d34c70cdf2c2e1e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00035100400000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1c401d34c70cdf2c2e1e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000215657s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000646751s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000418729s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1c541d34c70cf9be447f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "image_file_name"=...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.017534982s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000315626s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000341487s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c1c541d34c70cf9be4480'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000577005s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00030436499999999996s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00020713100000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000357941s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1c541d34c70cf9be4481'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00038921800000000004s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1c541d34c70cf9be4481')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00031570999999999997s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000209403s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000290701s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1c541d34c70cf9be4482'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000465228s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000408576s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1c541d34c70cf9be4482')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00031501099999999997s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000207865s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000262008s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1c541d34c70cf9be4483'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000337562s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c1c541d34c70cf9be4483')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000390707s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1c541d34c70cf9be4483')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000219344s
----------------------------------
CoreExtTest: test_versioned_upsert
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000209984s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000243098s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1c541d34c70cf9be4484'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000417154s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c1c541d34c70cf9be4484'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000335302s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1c541d34c70cf9be4484')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000181599s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000136521s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000195721s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1c541d34c70cf9be4485'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav....
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000302584s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c1c541d34c70cf9be4485')}, "update"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000434972s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1c541d34c70cf9be4485')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00037618799999999996s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000196912s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000321309s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1c541d34c70cf9be4486'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000516677s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1c541d34c70cf9be4486')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.0005481560000000001s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00023353399999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000256007s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1c541d34c70cf9be4487'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005019149999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c1c541d34c70cf9be4487'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000446054s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c1c541d34c70cf9be4487')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"chang...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000409766s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000209049s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00025160199999999997s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c1c541d34c70cf9be4488'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000265353s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c1c541d34c70cf9be4488')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000331645s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1c541d34c70cf9be4488')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000207734s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00016574899999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000232562s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1c541d34c70cf9be4489'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav....
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00044597999999999996s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c1c541d34c70cf9be4489')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gma...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000364705s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1c541d34c70cf9be4489')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000181482s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00013903300000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000207798s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c1c541d34c70cf9be448a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000215574s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1c541d34c70cf9be448a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000175952s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c1c541d34c70cf9be448a')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00037949399999999997s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000179149s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000229254s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1c541d34c70cf9be448b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00027789300000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c1c541d34c70cf9be448b')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000404861s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1c541d34c70cf9be448b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00038586400000000003s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000237623s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00022098900000000002s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1c541d34c70cf9be448c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000288962s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c1c541d34c70cf9be448c')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00034251299999999996s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000268564s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000268084s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1c541d34c70cf9be448d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav....
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000372762s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c1c541d34c70cf9be448d')}, "update"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000373378s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000262814s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000497091s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000237197s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0005592259999999999s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000315695s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000288848s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000160494s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000229669s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1cb51d34c70d156317a4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000378256s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c1cb51d34c70d156317a4')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000540646s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000337161s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000387708s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1cb51d34c70d156317a5'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav....
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000506595s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c1cb51d34c70d156317a5')}, "update"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00038836s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000204683s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000337574s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c1cb51d34c70d156317a6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000278599s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1cb51d34c70d156317a6')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000283388s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c1cb51d34c70d156317a6')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000331926s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00016826799999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00019847499999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1cb51d34c70d156317a7'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000286328s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1cb51d34c70d156317a7')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00020265s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000258349s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000266708s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1cb51d34c70d156317a8'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005097220000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c1cb51d34c70d156317a8')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00062033s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1cb51d34c70d156317a8')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000337834s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000209927s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000254467s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1cb51d34c70d156317a9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav....
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00032980899999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c1cb51d34c70d156317a9')}, "update"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000407473s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1cb51d34c70d156317a9')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000227463s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000300497s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00027897599999999995s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c1cb51d34c70d156317aa'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000259282s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c1cb51d34c70d156317aa')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00037049s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1cb51d34c70d156317aa')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000282263s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00035476700000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000354036s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1cb51d34c70d156317ab'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav....
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000596107s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c1cb51d34c70d156317ab')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gma...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00045497800000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1cb51d34c70d156317ab')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000215925s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000170795s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00024813s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1cb51d34c70d156317ac'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000312151s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c1cb51d34c70d156317ac')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000364253s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1cb51d34c70d156317ac')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000211621s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000185783s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000272844s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1cb51d34c70d156317ad'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00037742600000000004s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1cb51d34c70d156317ad')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00024913400000000003s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000266366s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000288585s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1cb51d34c70d156317ae'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "image_file_name"=...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.028780911s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000271692s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000368358s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c1cb51d34c70d156317af'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000559791s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000369567s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000374122s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000436694s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1cb51d34c70d156317b0'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000490843s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c1cb51d34c70d156317b0'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000464759s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c1cb51d34c70d156317b0')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"chang...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00034424099999999996s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000221638s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000298556s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1cb51d34c70d156317b1'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00036546s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000230668s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1cb51d34c70d156317b1')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000278706s
----------------------------------
CoreExtTest: test_versioned_upsert
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000303548s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000298203s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1cb51d34c70d156317b2'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000411813s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c1cb51d34c70d156317b2'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000623705s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1cb51d34c70d156317b2')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000391214s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000759692s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00046665599999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1cbf1d34c70d309f026e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav....
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.001050194s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c1cbf1d34c70d309f026e')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gma...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000474566s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1cbf1d34c70d309f026e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000392792s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000330311s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000338916s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1cbf1d34c70d309f026f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000386414s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1cbf1d34c70d309f026f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000219731s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00029584299999999995s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00046040400000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1cbf1d34c70d309f0270'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000360511s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000165792s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1cbf1d34c70d309f0270')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000240289s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00016345s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000260417s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00029055300000000004s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000177598s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000281941s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1cbf1d34c70d309f0271'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000327862s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c1cbf1d34c70d309f0271')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00038735399999999996s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1cbf1d34c70d309f0271')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00035490799999999997s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000226097s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00025738700000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1cbf1d34c70d309f0272'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000541878s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c1cbf1d34c70d309f0272'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00045465s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c1cbf1d34c70d309f0272')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"chang...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00033006999999999996s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000255974s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000281641s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1cbf1d34c70d309f0273'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "image_file_name"=...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000578384s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000248828s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000265831s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1cbf1d34c70d309f0274'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav....
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000367076s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c1cbf1d34c70d309f0274')}, "update"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000394644s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1cbf1d34c70d309f0274')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000270892s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00028856s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00025374999999999996s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c1cbf1d34c70d309f0275'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00025732099999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c1cbf1d34c70d309f0275')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000299761s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1cbf1d34c70d309f0275')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000234258s
----------------------------------
CoreExtTest: test_versioned_upsert
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000210138s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00033872s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1cbf1d34c70d309f0276'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000557759s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c1cbf1d34c70d309f0276'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000611322s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1cbf1d34c70d309f0276')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000322738s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000248758s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000288285s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1cbf1d34c70d309f0277'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000342446s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1cbf1d34c70d309f0277')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000234206s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000257363s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000265587s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1cbf1d34c70d309f0278'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000335451s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c1cbf1d34c70d309f0278')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.015209945s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1cbf1d34c70d309f0278')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000412907s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00023438700000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00032698199999999997s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c1cbf1d34c70d309f0279'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000474518s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00025549899999999996s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00024427600000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000320094s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1cbf1d34c70d309f027a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000322747s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c1cbf1d34c70d309f027a')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000375671s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000169068s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000243203s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c1cbf1d34c70d309f027b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00027001499999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1cbf1d34c70d309f027b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000297017s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c1cbf1d34c70d309f027b')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000346526s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00018537099999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000253925s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c1cbf1d34c70d309f027c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav....
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005291369999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c1cbf1d34c70d309f027c')}, "update"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000370167s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c1cbf1d34c70d309f027c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000197942s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000662087s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000376938s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c45c51d34c7192991fe7a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00062334s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c45c51d34c7192991fe7a')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00043708500000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c45c51d34c7192991fe7a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000260961s
----------------------------------
CoreExtTest: test_versioned_upsert
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000191831s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000258563s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c45c51d34c7192991fe7b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00035511200000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c45c51d34c7192991fe7b'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000388737s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c45c51d34c7192991fe7b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000255674s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000193067s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000256158s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c45c51d34c7192991fe7c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00038235s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c45c51d34c7192991fe7c')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0007272170000000001s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000309798s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000407024s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c45c51d34c7192991fe7d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00044372499999999996s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c45c51d34c7192991fe7d'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00037479500000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c45c51d34c7192991fe7d')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"chang...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000293577s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00018635899999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000252269s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c45c51d34c7192991fe7e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00033776300000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c45c51d34c7192991fe7e')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000387704s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c45c51d34c7192991fe7e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00023099s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000185547s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000246904s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c45c51d34c7192991fe7f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.016743911s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c45c51d34c7192991fe7f')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000405386s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c45c51d34c7192991fe7f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000238566s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000187294s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000250836s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c45c51d34c7192991fe80'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav....
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000376212s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c45c51d34c7192991fe80')}, "update"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000369439s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c45c51d34c7192991fe80')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000251213s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000199342s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000300116s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c45c51d34c7192991fe81'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000348321s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c45c51d34c7192991fe81')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00022071799999999998s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000226979s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000273045s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c45c51d34c7192991fe82'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav....
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00038369099999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c45c51d34c7192991fe82')}, "update"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000288322s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c45c51d34c7192991fe82')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000371531s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00027324399999999996s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000319788s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c45c51d34c7192991fe83'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000500673s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c45c51d34c7192991fe84'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"dog", "em...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00033386099999999997s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00017588399999999999s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000219151s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c45c51d34c7192991fe85'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00025504s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c45c51d34c7192991fe85')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000198904s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c45c51d34c7192991fe85')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00025439200000000004s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000163213s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000209954s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000258949s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000222909s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000252979s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c45c51d34c7192991fe86'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000234188s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000160067s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000142259s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000208555s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c45c51d34c7192991fe87'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00033748000000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c45c51d34c7192991fe87')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000197576s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000153438s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000214934s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c45c51d34c7192991fe88'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "image_file_name"=...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000697246s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0003593s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000369075s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c45c51d34c7192991fe89'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav....
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00042246499999999996s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c45c51d34c7192991fe89')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gma...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000436127s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c45c51d34c7192991fe89')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000256168s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000221287s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000260904s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c45c51d34c7192991fe8a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav",...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000371372s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000192453s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c45c51d34c7192991fe8a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00022481699999999999s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000530222s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000376698s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"$ne"=>{"_id"=>BSON::ObjectId('574c465b1d34c71978215311')}}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c465b1d34c71978215311'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>...
MONGODB | localhost:27017 | dummy_test.findandmodify | FAILED | exception: Could not canonicalize { $ne: { _id: ObjectId('574c465b1d34c71978215311') } } (17383) | 0.00396215s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00031336199999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00030838899999999995s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c465b1d34c71978215312'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00027268100000000004s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c465b1d34c71978215312')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000302899s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c465b1d34c71978215312')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000290693s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000245134s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000291323s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"$ne"=>{"_id"=>BSON::ObjectId('574c465b1d34c71978215313')}}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c465b1d34c71978215313'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>...
MONGODB | localhost:27017 | dummy_test.findandmodify | FAILED | exception: Could not canonicalize { $ne: { _id: ObjectId('574c465b1d34c71978215313') } } (17383) | 0.003965763s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00039633400000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000455467s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000288945s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00022512s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000254782s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"$ne"=>{"_id"=>BSON::ObjectId('574c465c1d34c71978215314')}}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c465c1d34c71978215314'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>...
MONGODB | localhost:27017 | dummy_test.findandmodify | FAILED | exception: Could not canonicalize { $ne: { _id: ObjectId('574c465c1d34c71978215314') } } (17383) | 0.003499965s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000229309s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000246547s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"$ne"=>{"_id"=>BSON::ObjectId('574c465c1d34c71978215315')}}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c465c1d34c71978215315'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>...
MONGODB | localhost:27017 | dummy_test.findandmodify | FAILED | exception: Could not canonicalize { $ne: { _id: ObjectId('574c465c1d34c71978215315') } } (17383) | 0.003421405s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000235519s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000260466s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"$ne"=>{"_id"=>BSON::ObjectId('574c465c1d34c71978215316')}}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c465c1d34c71978215316'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>...
MONGODB | localhost:27017 | dummy_test.findandmodify | FAILED | exception: Could not canonicalize { $ne: { _id: ObjectId('574c465c1d34c71978215316') } } (17383) | 0.0036778030000000003s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000283564s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000359101s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"$ne"=>{"_id"=>BSON::ObjectId('574c465c1d34c71978215317')}}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c465c1d34c71978215317'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>...
MONGODB | localhost:27017 | dummy_test.findandmodify | FAILED | exception: Could not canonicalize { $ne: { _id: ObjectId('574c465c1d34c71978215317') } } (17383) | 0.003685041s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00021830500000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000233981s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"$ne"=>{"_id"=>BSON::ObjectId('574c465c1d34c71978215318')}}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c465c1d34c71978215318'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>...
MONGODB | localhost:27017 | dummy_test.findandmodify | FAILED | exception: Could not canonicalize { $ne: { _id: ObjectId('574c465c1d34c71978215318') } } (17383) | 0.0036678179999999998s
----------------------------------
CoreExtTest: test_versioned_upsert
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000220475s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000289965s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"$ne"=>{"_id"=>BSON::ObjectId('574c465c1d34c71978215319')}}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c465c1d34c71978215319'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>...
MONGODB | localhost:27017 | dummy_test.findandmodify | FAILED | exception: Could not canonicalize { $ne: { _id: ObjectId('574c465c1d34c71978215319') } } (17383) | 0.003525561s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000279772s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000417353s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"$ne"=>{"_id"=>BSON::ObjectId('574c465c1d34c7197821531a')}}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c465c1d34c7197821531a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>...
MONGODB | localhost:27017 | dummy_test.findandmodify | FAILED | exception: Could not canonicalize { $ne: { _id: ObjectId('574c465c1d34c7197821531a') } } (17383) | 0.003770306s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00025229s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000283495s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c465c1d34c7197821531b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000237694s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000160869s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000202018s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000237055s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"$ne"=>{"_id"=>BSON::ObjectId('574c465c1d34c7197821531c')}}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c465c1d34c7197821531c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>...
MONGODB | localhost:27017 | dummy_test.findandmodify | FAILED | exception: Could not canonicalize { $ne: { _id: ObjectId('574c465c1d34c7197821531c') } } (17383) | 0.003405158s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00020653999999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000225246s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c465c1d34c7197821531d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000293717s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c465c1d34c7197821531d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000253673s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c465c1d34c7197821531d')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000268386s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000203753s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000236766s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"$ne"=>{"_id"=>BSON::ObjectId('574c465c1d34c7197821531e')}}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c465c1d34c7197821531e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>...
MONGODB | localhost:27017 | dummy_test.findandmodify | FAILED | exception: Could not canonicalize { $ne: { _id: ObjectId('574c465c1d34c7197821531e') } } (17383) | 0.003417585s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000184253s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000208908s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"$ne"=>{"_id"=>BSON::ObjectId('574c465c1d34c7197821531f')}}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c465c1d34c7197821531f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>...
MONGODB | localhost:27017 | dummy_test.findandmodify | FAILED | exception: Could not canonicalize { $ne: { _id: ObjectId('574c465c1d34c7197821531f') } } (17383) | 0.0034786070000000003s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000284874s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000310816s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"$ne"=>{"_id"=>BSON::ObjectId('574c465c1d34c71978215320')}}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c465c1d34c71978215320'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>...
MONGODB | localhost:27017 | dummy_test.findandmodify | FAILED | exception: Could not canonicalize { $ne: { _id: ObjectId('574c465c1d34c71978215320') } } (17383) | 0.003768409s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000763087s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00040809799999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>{"$ne"=>BSON::ObjectId('574c47521d34c71a0bcd6a67')}}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c47521d34c71a0bcd6a67'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000692204s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000289974s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00028551300000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>{"$ne"=>BSON::ObjectId('574c47521d34c71a0bcd6a68')}}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c47521d34c71a0bcd6a68'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00043720099999999996s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c47521d34c71a0bcd6a68')}, "update"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00039452300000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c47521d34c71a0bcd6a68')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000259496s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00022325699999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000259475s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c47521d34c71a0bcd6a69'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00030149s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00018450299999999998s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000174518s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00024590399999999997s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c47521d34c71a0bcd6a6a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00024998399999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c47521d34c71a0bcd6a6a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00024353s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c47521d34c71a0bcd6a6a')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00030043s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00020711999999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00022582s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>{"$ne"=>BSON::ObjectId('574c47521d34c71a0bcd6a6b')}}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c47521d34c71a0bcd6a6b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000387717s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>{"$ne"=>BSON::ObjectId('574c47521d34c71a0bcd6a6c')}}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c47521d34c71a0bcd6a6c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000313236s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000251432s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000305284s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>{"$ne"=>BSON::ObjectId('574c47521d34c71a0bcd6a6d')}}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c47521d34c71a0bcd6a6d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00045468s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c47521d34c71a0bcd6a6d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00045974s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000401821s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00036897s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>{"$ne"=>BSON::ObjectId('574c47521d34c71a0bcd6a6e')}}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c47521d34c71a0bcd6a6e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0006416919999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c47521d34c71a0bcd6a6e')}, "update"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000367578s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c47521d34c71a0bcd6a6e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000259478s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000215558s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000247561s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>{"$ne"=>BSON::ObjectId('574c47521d34c71a0bcd6a6f')}}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c47521d34c71a0bcd6a6f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000384922s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c47521d34c71a0bcd6a6f')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00041918099999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c47521d34c71a0bcd6a6f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000259677s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000159863s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00021660499999999998s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>{"$ne"=>BSON::ObjectId('574c47521d34c71a0bcd6a70')}}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c47521d34c71a0bcd6a70'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00036267300000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c47521d34c71a0bcd6a70'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00029871099999999995s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c47521d34c71a0bcd6a70')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"chang...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000251735s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00014300600000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00019686600000000002s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>{"$ne"=>BSON::ObjectId('574c47521d34c71a0bcd6a71')}}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c47521d34c71a0bcd6a71'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000355s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c47521d34c71a0bcd6a71')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000464097s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c47521d34c71a0bcd6a71')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00020866800000000002s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000141552s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000199817s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>{"$ne"=>BSON::ObjectId('574c47521d34c71a0bcd6a72')}}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c47521d34c71a0bcd6a72'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000329454s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000155505s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c47521d34c71a0bcd6a72')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000169333s
----------------------------------
CoreExtTest: test_versioned_upsert
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00014333s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000196421s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>{"$ne"=>BSON::ObjectId('574c47521d34c71a0bcd6a73')}}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c47521d34c71a0bcd6a73'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000331033s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c47521d34c71a0bcd6a73'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000330854s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c47521d34c71a0bcd6a73')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000248958s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00016192000000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000494024s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>{"$ne"=>BSON::ObjectId('574c47521d34c71a0bcd6a74')}}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c47521d34c71a0bcd6a74'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005345640000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c47521d34c71a0bcd6a74')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gma...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0004997889999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c47521d34c71a0bcd6a74')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000332453s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00014302899999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00021475s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c47521d34c71a0bcd6a75'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000222347s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c47521d34c71a0bcd6a75')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000323913s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c47521d34c71a0bcd6a75')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00021112000000000003s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000143144s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000197617s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000385117s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00029727599999999996s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000300721s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>{"$ne"=>BSON::ObjectId('574c47521d34c71a0bcd6a76')}}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c47521d34c71a0bcd6a76'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000384006s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c47521d34c71a0bcd6a76')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00039522s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000156416s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00021941099999999998s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>{"$ne"=>BSON::ObjectId('574c47521d34c71a0bcd6a77')}}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c47521d34c71a0bcd6a77'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.017457972999999998s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c47521d34c71a0bcd6a77')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000334587s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000529835s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000378188s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c478b1d34c71a26b73e0b')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c478b1d34c71a26b73e0b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000470133s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c478b1d34c71a26b73e0b')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000562509s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c478b1d34c71a26b73e0b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000380094s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000323224s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000273149s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c478b1d34c71a26b73e0c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000295019s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00023632900000000002s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000219391s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000295166s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c478b1d34c71a26b73e0d')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c478b1d34c71a26b73e0d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00030192900000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c478b1d34c71a26b73e0d')}, "update"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00023375s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c478b1d34c71a26b73e0d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00033493799999999996s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00020438200000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00027932200000000003s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c478b1d34c71a26b73e0e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000222795s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c478b1d34c71a26b73e0e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00018162499999999998s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c478b1d34c71a26b73e0e')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000268191s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00016570900000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000213795s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c478b1d34c71a26b73e0f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000226754s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c478b1d34c71a26b73e0f')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000266885s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c478b1d34c71a26b73e0f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000225524s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00018502000000000001s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.019374975s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c478b1d34c71a26b73e10')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c478b1d34c71a26b73e10'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000527738s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c478b1d34c71a26b73e10')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gma...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000511956s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c478b1d34c71a26b73e10')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000471727s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000376845s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000457322s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c478b1d34c71a26b73e11')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c478b1d34c71a26b73e11'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000473069s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c478b1d34c71a26b73e11')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0006224819999999999s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00028894099999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000403337s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c478b1d34c71a26b73e12')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c478b1d34c71a26b73e12'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000443197s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c478b1d34c71a26b73e12')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000524017s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c478b1d34c71a26b73e12')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00042068s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000288593s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000294083s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c478b1d34c71a26b73e13')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c478b1d34c71a26b73e13'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000483966s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c478b1d34c71a26b73e13')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00047005900000000005s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000383493s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000368259s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c478b1d34c71a26b73e14')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c478b1d34c71a26b73e14'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00048152300000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c478b1d34c71a26b73e14'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00045900700000000005s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c478b1d34c71a26b73e14')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"chang...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000355222s
----------------------------------
CoreExtTest: test_versioned_upsert
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000263372s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000299358s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c478b1d34c71a26b73e15')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c478b1d34c71a26b73e15'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000404648s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c478b1d34c71a26b73e15'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000474713s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c478b1d34c71a26b73e15')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000301005s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000271737s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00035786799999999996s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c478b1d34c71a26b73e16')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c478b1d34c71a26b73e16'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000399465s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00023813199999999998s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c478b1d34c71a26b73e16')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000269653s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00024481300000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000327621s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000339413s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000387681s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000395351s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c478b1d34c71a26b73e17')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c478b1d34c71a26b73e17'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000684544s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c478b1d34c71a26b73e17')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00039037399999999997s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00026976100000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000385889s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c478b1d34c71a26b73e18')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c478b1d34c71a26b73e18'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000496279s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c478b1d34c71a26b73e19')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c478b1d34c71a26b73e19'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000471323s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000267304s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00037109899999999995s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c478b1d34c71a26b73e1a')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c478b1d34c71a26b73e1a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000404644s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c478b1d34c71a26b73e1a')}, "update"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00046525399999999996s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c478b1d34c71a26b73e1a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00027181799999999995s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000221367s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00029302099999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c478b1d34c71a26b73e1b')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c478b1d34c71a26b73e1b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000693683s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0006489120000000001s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000331781s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c47a51d34c71a4c3d86af')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c47a51d34c71a4c3d86af'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00041246400000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c47a51d34c71a4c3d86af')}, "update"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000290452s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c47a51d34c71a4c3d86af')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00023401999999999999s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000206174s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000321345s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c47a51d34c71a4c3d86b0')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c47a51d34c71a4c3d86b0'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000338072s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c47a51d34c71a4c3d86b0')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000217181s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000175736s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000235302s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c47a51d34c71a4c3d86b1')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c47a51d34c71a4c3d86b1'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000314658s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c47a51d34c71a4c3d86b1')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00038195300000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c47a51d34c71a4c3d86b1')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00031257699999999997s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000250409s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000466983s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c47a61d34c71a4c3d86b2')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c47a61d34c71a4c3d86b2'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000517117s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c47a61d34c71a4c3d86b2')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000526678s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000205489s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00025823299999999997s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000289347s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00021134099999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000275669s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c47a61d34c71a4c3d86b3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00025711800000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c47a61d34c71a4c3d86b3')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000219985s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c47a61d34c71a4c3d86b3')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00032457199999999997s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00018951s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000256984s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c47a61d34c71a4c3d86b4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000265059s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000178238s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00017813s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000232407s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c47a61d34c71a4c3d86b5'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00023092700000000002s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c47a61d34c71a4c3d86b5')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000353822s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c47a61d34c71a4c3d86b5')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000254705s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000213663s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0002319s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c47a61d34c71a4c3d86b6')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c47a61d34c71a4c3d86b6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005476669999999999s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000381549s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000302524s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c47a61d34c71a4c3d86b7')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c47a61d34c71a4c3d86b7'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00038517399999999995s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c47a61d34c71a4c3d86b7')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000306524s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000209881s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000295229s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c47a61d34c71a4c3d86b8')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c47a61d34c71a4c3d86b8'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000339345s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000192975s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c47a61d34c71a4c3d86b8')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000201548s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00018056299999999999s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000278157s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c47a61d34c71a4c3d86b9')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c47a61d34c71a4c3d86b9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00036648100000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c47a61d34c71a4c3d86ba')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c47a61d34c71a4c3d86ba'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00034190800000000003s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000238301s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00047180400000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c47a61d34c71a4c3d86bb')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c47a61d34c71a4c3d86bb'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000414724s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c47a61d34c71a4c3d86bb')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gma...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000429049s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c47a61d34c71a4c3d86bb')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00027093800000000003s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000163707s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000243712s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c47a61d34c71a4c3d86bc')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c47a61d34c71a4c3d86bc'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000292208s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c47a61d34c71a4c3d86bc')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00036248700000000004s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c47a61d34c71a4c3d86bc')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00023303699999999998s
----------------------------------
CoreExtTest: test_versioned_upsert
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00020032499999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.022390702999999998s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c47a61d34c71a4c3d86bd')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c47a61d34c71a4c3d86bd'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000821948s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c47a61d34c71a4c3d86bd'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000695671s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c47a61d34c71a4c3d86bd')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00043391999999999997s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00043949099999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000510962s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c47a61d34c71a4c3d86be')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c47a61d34c71a4c3d86be'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000647644s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c47a61d34c71a4c3d86be'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0006080710000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c47a61d34c71a4c3d86be')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"chang...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000499461s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00035413299999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000476866s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c47a61d34c71a4c3d86bf')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c47a61d34c71a4c3d86bf'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00048046700000000005s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c47a61d34c71a4c3d86bf')}, "update"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005936639999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c47a61d34c71a4c3d86bf')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000372586s
----------------------------------
CoreExtTest: test_versioned_upsert
----------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0005224930000000001s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000330426s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31c8')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31c8'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.018776404s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31c8'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.007021814s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31c8')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00033885100000000004s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00022622s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000332465s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000607113s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000410907s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000442307s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31c9')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31c9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000601749s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31ca')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31ca'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005952010000000001s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00040270999999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000608615s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31cb')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31cb'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0006950929999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31cb')}, "update"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000673505s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31cb')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00040945s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000332172s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000456098s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31cc')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31cc'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.001082515s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31cc')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000831681s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000461197s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000465354s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31cd')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31cd'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000601774s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31cd'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0006681310000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31cd')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"chang...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000475844s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000307249s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00038141s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31ce'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000351205s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31ce')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00033334099999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31ce')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000464817s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000292981s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000351535s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31cf'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000387665s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000295956s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000278858s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000377892s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31d0'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000346053s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31d0')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000406761s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31d0')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000328905s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000289468s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000376278s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31d1')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31d1'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000842916s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31d1')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0007870500000000001s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31d1')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000460592s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00028874300000000005s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000391988s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31d2')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31d2'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000413729s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31d2')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000285283s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000230941s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000268526s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31d3')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31d3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000393567s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31d3')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000257485s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000189669s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000361211s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31d4')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31d4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00122737s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00047738399999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000627222s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31d5')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31d5'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000689694s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31d5')}, "update"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00056506s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31d5')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000457301s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00036957900000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000505972s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31d6')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31d6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00080799s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31d6')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0008576310000000001s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31d6')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000413723s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00032691s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000507386s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31d7')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31d7'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0006107479999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31d7')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gma...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000519569s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31d7')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000409083s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00033411s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000467136s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31d8')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31d8'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000586572s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00037256699999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c66ec1d34c708b8fe31d8')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000441096s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0008732669999999999s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000625032s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c68141d34c709601331a2')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c68141d34c709601331a2'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.021560859s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"$or"=>[{"_id"=>BSON::ObjectId('574c68141d34c709601331a3')}, {"name"=>{"$ne"=>"bhargav"}}]}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c68141d34c709601331a3'), "before_create_field"=>1, "after_create_fi...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.017610005s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00041036400000000003s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000665454s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000503481s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c682d1d34c709762ac660')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c682d1d34c709762ac660'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000483566s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"$or"=>[{"_id"=>BSON::ObjectId('574c682d1d34c709762ac661')}, {"name"=>"bhargav"}]}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c682d1d34c709762ac661'), "before_create_field"=>1, "after_create_field"=>0, ...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000447975s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000229392s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000941671s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0006319860000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c683a1d34c70990d3c420')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c683a1d34c70990d3c420'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000518909s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"$or"=>[{"_id"=>BSON::ObjectId('574c683a1d34c70990d3c421')}, {"name"=>"bhargavisa"}]}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c683a1d34c70990d3c421'), "before_create_field"=>1, "after_create_field"=>...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000625204s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00027524799999999996s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000586336s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00034891s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c68821d34c709d2898a66')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c68821d34c709d2898a66'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000430844s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c68821d34c709d2898a66')}, "update"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00040228s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c68821d34c709d2898a66')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000269254s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00018558599999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000254798s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c68821d34c709d2898a67')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c68821d34c709d2898a67'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000576299s
----------------------------------
CoreExtTest: test_versioned_upsert
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000292507s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000346985s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c68821d34c709d2898a68')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c68821d34c709d2898a68'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000330346s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c68821d34c709d2898a68'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00034159800000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c68821d34c709d2898a68')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00025133s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000253192s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00022844199999999998s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c68821d34c709d2898a69')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c68821d34c709d2898a69'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00031089400000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c68821d34c709d2898a69')}, "update"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00028925699999999996s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c68821d34c709d2898a69')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.0001987s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00016962s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00028007s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c68821d34c709d2898a6a')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c68821d34c709d2898a6a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00034315s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c68821d34c709d2898a6a')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005087949999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c68821d34c709d2898a6a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000293932s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000169329s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000235244s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c68821d34c709d2898a6b')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c68821d34c709d2898a6b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000275449s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"$or"=>[{"_id"=>BSON::ObjectId('574c68821d34c709d2898a6c')}, {"name"=>"bhargav"}]}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c68821d34c709d2898a6c'), "before_create_field"=>1, "after_create_field"=>0, ...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000387198s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00017679000000000002s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000148966s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000200115s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c68821d34c709d2898a6d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000209006s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c68821d34c709d2898a6d')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000312294s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c68821d34c709d2898a6d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000209775s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000159366s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00021636099999999998s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00028948799999999996s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00014820399999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000237453s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c68821d34c709d2898a6e')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c68821d34c709d2898a6e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00030445499999999997s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00016597700000000001s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c68821d34c709d2898a6e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000174842s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00013699199999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000207028s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c68821d34c709d2898a6f')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c68821d34c709d2898a6f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000296911s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c68821d34c709d2898a70')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c68821d34c709d2898a70'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000347676s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000153557s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000206309s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c68821d34c709d2898a71')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c68821d34c709d2898a71'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000267717s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c68821d34c709d2898a71')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000346102s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c68821d34c709d2898a71')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000195237s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00018742200000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00020023599999999998s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c68821d34c709d2898a72'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00031052399999999996s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000207671s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00013968000000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00026183799999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c68821d34c709d2898a73')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c68821d34c709d2898a73'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000301034s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c68821d34c709d2898a73')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000192541s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000140504s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00019509600000000002s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c68821d34c709d2898a74')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c68821d34c709d2898a74'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000264824s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c68821d34c709d2898a74'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000312886s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c68821d34c709d2898a74')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"chang...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000307534s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000184174s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.011251557s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c68821d34c709d2898a75')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c68821d34c709d2898a75'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000378858s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c68821d34c709d2898a75')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gma...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000371944s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c68821d34c709d2898a75')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00030824499999999996s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000214725s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00029504900000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c68821d34c709d2898a76')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c68821d34c709d2898a76'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00043047100000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c68821d34c709d2898a76')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00026219s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00016443099999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00029175800000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('574c68821d34c709d2898a77')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('574c68821d34c709d2898a77'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000493009s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('574c68821d34c709d2898a77')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000551058s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00023617400000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000293672s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('574c68821d34c709d2898a78'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000294713s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('574c68821d34c709d2898a78')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00028429700000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('574c68821d34c709d2898a78')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000342044s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00042045900000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000318301s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575252de1d34c71316895519')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575252de1d34c71316895519'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000582925s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575252de1d34c71316895519')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000228504s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000166241s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000233888s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575252de1d34c7131689551a')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575252de1d34c7131689551a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000308973s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575252de1d34c7131689551a'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00037326700000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575252de1d34c7131689551a')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"chang...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000359452s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000170296s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000220114s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575252de1d34c7131689551b')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575252de1d34c7131689551b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000413106s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575252de1d34c7131689551b')}, "update"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00041635099999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575252de1d34c7131689551b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000221368s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000219155s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.009516261s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575252de1d34c7131689551c')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575252de1d34c7131689551c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000470798s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"$or"=>[{"_id"=>BSON::ObjectId('575252de1d34c7131689551d')}, {"name"=>"bhargav"}]}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575252de1d34c7131689551d'), "before_create_field"=>1, "after_create_field"=>0, ...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00045270099999999996s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000233307s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000170897s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00022677100000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575252de1d34c7131689551e')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575252de1d34c7131689551e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000299732s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575252de1d34c7131689551e')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000351712s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575252de1d34c7131689551e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00019793800000000001s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00015963799999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000216625s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575252de1d34c7131689551f')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575252de1d34c7131689551f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000285524s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575252de1d34c71316895520')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575252de1d34c71316895520'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00029026s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00016607499999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000217336s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575252de1d34c71316895521')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575252de1d34c71316895521'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00047563499999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575252de1d34c71316895521')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000592014s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575252de1d34c71316895521')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000319101s
----------------------------------
CoreExtTest: test_versioned_upsert
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00029920799999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000247057s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575252de1d34c71316895522')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575252de1d34c71316895522'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00031312099999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575252de1d34c71316895522'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000330566s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575252de1d34c71316895522')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000192109s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000159695s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000223027s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575252de1d34c71316895523')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575252de1d34c71316895523'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0003335s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575252de1d34c71316895523')}, "update"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000374982s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575252de1d34c71316895523')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000241035s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00034889299999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000271263s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575252de1d34c71316895524')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575252de1d34c71316895524'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000471149s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575252de1d34c71316895524')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000516982s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000419777s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00049606s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575252de1d34c71316895525'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000427357s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575252de1d34c71316895525')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000348913s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('575252de1d34c71316895525')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000429253s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00025194999999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000324609s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575252de1d34c71316895526'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000325715s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('575252de1d34c71316895526')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000397065s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575252de1d34c71316895526')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00025664s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000264526s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00040890100000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575252de1d34c71316895527')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575252de1d34c71316895527'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000530647s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575252de1d34c71316895527')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0010331580000000002s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000503111s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00041044300000000003s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575252de1d34c71316895528'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00039529400000000003s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00029024599999999997s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000298041s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00033626799999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575252de1d34c71316895529')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575252de1d34c71316895529'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000386514s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575252de1d34c71316895529')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gma...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00044845s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575252de1d34c71316895529')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00040911699999999997s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000296134s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0005274570000000001s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000257736s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000167329s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.010561053999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575252de1d34c7131689552a')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575252de1d34c7131689552a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000517391s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000296489s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00033786799999999996s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575252de1d34c7131689552b')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575252de1d34c7131689552b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000678723s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000260954s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575252de1d34c7131689552b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000259004s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
-------------------------------
CoreExtTest: test_log_on_or_off
-------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000507136s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00032477099999999996s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575254f61d34c7142d9996c6')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575254f61d34c7142d9996c6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00048358699999999995s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
-------------------------------
CoreExtTest: test_log_on_or_off
-------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000622852s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000410787s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5752554d1d34c714492609ed')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5752554d1d34c714492609ed'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000466059s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0007459750000000001s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000897276s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051b5')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051b5'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0006773409999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051b5')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00041646799999999997s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000317723s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000269747s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('5752559f1d34c71482a051b6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000257745s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051b6')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00032516200000000004s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051b6')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000651806s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00037432199999999996s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000276207s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051b7')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051b7'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000549901s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('5752559f1d34c71482a051b7')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000534965s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051b7')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000247244s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00021942499999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000272582s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051b8')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051b8'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000422657s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051b8'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000434794s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('5752559f1d34c71482a051b8')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"chang...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00034346699999999997s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00027355500000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000399697s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('5752559f1d34c71482a051b9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000306644s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051b9')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000220676s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051b9')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000272407s
----------------------------------
CoreExtTest: test_versioned_upsert
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000184471s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00027743099999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051ba')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051ba'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005557569999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051ba'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000651483s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051ba')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00037625s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000197956s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00024218999999999998s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051bb')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051bb'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00037161599999999996s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051bc')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051bc'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00029704199999999997s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000290213s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000253532s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051bd')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051bd'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000372566s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051bd')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000280452s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000342841s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000344082s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051be')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051be'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000393064s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('5752559f1d34c71482a051be')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000500204s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051be')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000347301s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000277551s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000238323s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051bf')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051bf'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00033862s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051bf')}, "update"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00034035099999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051bf')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000231107s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000263811s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000249556s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051c0')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051c0'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.015359055s
-------------------------------
CoreExtTest: test_log_on_or_off
-------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00031514700000000005s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000346264s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051c1')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051c1'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000418745s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000193277s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00026317s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('5752559f1d34c71482a051c2'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000259685s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00026225399999999996s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000274791s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000731373s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051c3')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051c3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00047470600000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('5752559f1d34c71482a051c3')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000541129s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000278381s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00025428100000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051c4')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051c4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000349422s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('5752559f1d34c71482a051c4')}, "update"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000557516s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051c4')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000413717s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000328898s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000368591s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051c5')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051c5'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000313768s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000223847s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051c5')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000358499s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000260222s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000359206s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000286611s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000280285s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000258255s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051c6')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051c6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000551499s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051c6')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gma...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005513899999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051c6')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00021080100000000002s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000195809s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000245629s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051c7')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051c7'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000343831s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"$or"=>[{"_id"=>BSON::ObjectId('5752559f1d34c71482a051c8')}, {"name"=>"bhargav"}]}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5752559f1d34c71482a051c8'), "before_create_field"=>1, "after_create_field"=>0, ...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000417784s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00024056999999999998s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000757416s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000425638s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575574d01d34c71f85e3bd4c')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575574d01d34c71f85e3bd4c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00055238s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575574d01d34c71f85e3bd4c')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.022970449s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575574d01d34c71f85e3bd4c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000350544s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000221244s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00030469s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575574d01d34c71f85e3bd4d')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575574d01d34c71f85e3bd4d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00039992s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575574d01d34c71f85e3bd4d')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000455661s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00021732400000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00030239899999999996s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575574d11d34c71f85e3bd4e')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575574d11d34c71f85e3bd4e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000724591s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000535352s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.091936326s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00035376s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000267012s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000386541s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575574d11d34c71f85e3bd4f')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575574d11d34c71f85e3bd4f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00062774s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"$or"=>[{"_id"=>BSON::ObjectId('575574d11d34c71f85e3bd50')}, {"name"=>"bhargav"}]}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575574d11d34c71f85e3bd50'), "before_create_field"=>1, "after_create_field"=>0, ...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000578973s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000484394s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000460592s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000538279s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575574d11d34c71f85e3bd51')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575574d11d34c71f85e3bd51'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00033224000000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575574d11d34c71f85e3bd51'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000410734s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575574d11d34c71f85e3bd51')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"chang...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000340663s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000213252s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000262807s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575574d11d34c71f85e3bd52')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575574d11d34c71f85e3bd52'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000293532s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575574d11d34c71f85e3bd52')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000317135s
-------------------------------
CoreExtTest: test_log_on_or_off
-------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000240774s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000283255s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575574d11d34c71f85e3bd53')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575574d11d34c71f85e3bd53'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000341506s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000200903s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00024208200000000002s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575574d11d34c71f85e3bd54')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575574d11d34c71f85e3bd54'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000472486s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575574d11d34c71f85e3bd55')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575574d11d34c71f85e3bd55'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000451161s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000251121s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000297003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575574d11d34c71f85e3bd56')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575574d11d34c71f85e3bd56'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00036192s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575574d11d34c71f85e3bd56')}, "update"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000285243s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575574d11d34c71f85e3bd56')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000226614s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000214503s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000243772s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575574d11d34c71f85e3bd57')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575574d11d34c71f85e3bd57'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000308865s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575574d11d34c71f85e3bd57')}, "update"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00051251s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575574d11d34c71f85e3bd57')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000246095s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00024145499999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.008632293s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575574d11d34c71f85e3bd58')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575574d11d34c71f85e3bd58'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000497556s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575574d11d34c71f85e3bd58')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000429446s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575574d11d34c71f85e3bd58')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000360583s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000243902s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000374574s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575574d11d34c71f85e3bd59'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.0009238240000000001s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575574d11d34c71f85e3bd59')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00029790700000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('575574d11d34c71f85e3bd59')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00032717200000000003s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00018645199999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000248925s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575574d11d34c71f85e3bd5a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000266451s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000193569s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000158374s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000291159s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575574d11d34c71f85e3bd5b')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575574d11d34c71f85e3bd5b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00031086300000000004s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000189551s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575574d11d34c71f85e3bd5b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000425406s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000273082s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000277264s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575574d11d34c71f85e3bd5c')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575574d11d34c71f85e3bd5c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005326679999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575574d11d34c71f85e3bd5c')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gma...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000373589s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575574d11d34c71f85e3bd5c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00022703s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000161429s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000241279s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575574d11d34c71f85e3bd5d')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575574d11d34c71f85e3bd5d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000285076s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575574d11d34c71f85e3bd5d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00019898799999999999s
----------------------------------
CoreExtTest: test_versioned_upsert
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00015472799999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000215572s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575574d11d34c71f85e3bd5e')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575574d11d34c71f85e3bd5e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000316036s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575574d11d34c71f85e3bd5e'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00032273699999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575574d11d34c71f85e3bd5e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000189712s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00018394199999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000233966s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575574d11d34c71f85e3bd5f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000332097s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('575574d11d34c71f85e3bd5f')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000753332s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575574d11d34c71f85e3bd5f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000294393s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000646458s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000412096s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575577651d34c720839668ce')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575577651d34c720839668ce'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000518769s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575577651d34c720839668ce')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005578369999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575577651d34c720839668ce')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000315827s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00023348599999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000333481s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575577651d34c720839668cf'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00029785500000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575577651d34c720839668cf')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000292423s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('575577651d34c720839668cf')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00034623s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000219899s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000309167s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575577651d34c720839668d0')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575577651d34c720839668d0'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000408133s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575577651d34c720839668d0'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00045992699999999995s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575577651d34c720839668d0')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"chang...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000364181s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000230026s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000323332s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575577651d34c720839668d1')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575577651d34c720839668d1'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000319685s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575577651d34c720839668d2')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575577651d34c720839668d2'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000518762s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575577651d34c720839668d1')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575577651d34c720839668d3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00040771300000000003s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00030366999999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00031798899999999997s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000204751s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000296111s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575577651d34c720839668d4')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575577651d34c720839668d4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000328768s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575577651d34c720839668d4')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000244817s
----------------------------------
CoreExtTest: test_versioned_upsert
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000179293s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00026245099999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575577651d34c720839668d5')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575577651d34c720839668d5'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000327373s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575577651d34c720839668d5'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000391133s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575577651d34c720839668d5')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00022746s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000187803s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000259959s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575577651d34c720839668d6')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575577651d34c720839668d6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000292712s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000199143s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575577651d34c720839668d6')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000219147s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00020717299999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000276514s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575577651d34c720839668d7')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575577651d34c720839668d7'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000405145s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575577651d34c720839668d7')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000576971s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575577651d34c720839668d7')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00028815s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000223444s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00027458800000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575577651d34c720839668d8')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575577651d34c720839668d8'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000377145s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575577651d34c720839668d8')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000429124s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000209333s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00025439799999999997s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575577651d34c720839668d9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000292623s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('575577651d34c720839668d9')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000266061s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575577651d34c720839668d9')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00020118799999999999s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00026384s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000572047s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000379457s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000273997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000399322s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575577651d34c720839668da'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.012992342s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00031860600000000003s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000225321s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000411897s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575577651d34c720839668db')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575577651d34c720839668db'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00030160800000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575577651d34c720839668db')}, "update"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000560617s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575577651d34c720839668db')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000457113s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000392034s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000396908s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575577651d34c720839668dc')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575577651d34c720839668dc'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000416287s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575577651d34c720839668dc')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000309338s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000222289s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000262436s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575577651d34c720839668dd')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575577651d34c720839668dd'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00037178s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575577651d34c720839668dd')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gma...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000312778s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575577651d34c720839668dd')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000252688s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000171344s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000243522s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575577651d34c720839668de')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575577651d34c720839668de'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00035028s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575577651d34c720839668df')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575577651d34c720839668df'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00032736099999999997s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000193067s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000238711s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575577651d34c720839668e0')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575577651d34c720839668e0'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00064558s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00034471699999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00037314600000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575577651d34c720839668e1')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575577651d34c720839668e1'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000396115s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575577651d34c720839668e1')}, "update"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000606232s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575577651d34c720839668e1')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000293643s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000206081s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000263861s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575577651d34c720839668e2')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575577651d34c720839668e2'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000333948s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"$or"=>[{"_id"=>BSON::ObjectId('575577651d34c720839668e3')}, {"name"=>"bhargav"}]}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575577651d34c720839668e3'), "before_create_field"=>1, "after_create_field"=>0, ...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000347586s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000190296s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0006388250000000001s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00035318899999999996s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999e3')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999e3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000448184s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575579b91d34c721210999e3')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000515924s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999e3')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000317729s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00019531100000000001s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000289228s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999e4')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999e4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000367563s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999e4')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000226422s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000195849s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000265684s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999e5')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999e5'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000378494s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999e5')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gma...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000307731s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999e5')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000335577s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000383772s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000434178s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999e6')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999e6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000533603s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999e6')}, "update"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000488831s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999e6')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000339876s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00026640999999999996s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00035148s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999e7')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999e7'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00033857200000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"$or"=>[{"_id"=>BSON::ObjectId('575579b91d34c721210999e8')}, {"name"=>"bhargav"}]}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999e8'), "before_create_field"=>1, "after_create_field"=>0, ...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000410115s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00021916699999999998s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000147523s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00024160099999999998s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999e9')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999e9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000291587s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575579b91d34c721210999e9')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000475263s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999e9')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000256965s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000188405s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000249044s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999ea')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999ea'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00033246700000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999eb')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999eb'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00034446499999999996s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000263394s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000214782s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999ec')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999ec'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000261731s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575579b91d34c721210999ec')}, "update"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000359126s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999ec')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000233249s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00018884s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000218656s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999ed')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999ed'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000268867s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999ed'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00033806900000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575579b91d34c721210999ed')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"chang...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00030569900000000004s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000166849s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000256838s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000306928s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000173008s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.012134121999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999ee')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999ee'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000379209s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575579b91d34c721210999ee')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000576915s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000279469s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000343667s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999ef')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999ef'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000443882s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999ef')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00037440300000000004s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000293558s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000461972s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575579b91d34c721210999f0'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000547026s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999f0')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.0005623329999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999f0')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005708730000000001s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000234045s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00033719800000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999f1')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999f1'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000370814s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999f2')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999f2'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000364803s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999f1')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999f3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000369316s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000221227s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000253102s
----------------------------------
CoreExtTest: test_versioned_upsert
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00022510800000000001s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000324988s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999f4')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999f4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00039929200000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999f4'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000466243s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999f4')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000236984s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000203984s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000275229s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999f5')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999f5'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.001278665s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00024237s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000313657s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575579b91d34c721210999f6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000279614s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999f6')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00029318499999999995s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999f6')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000218715s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000172532s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000219013s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575579b91d34c721210999f7'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000321867s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00026542000000000004s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000216471s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00026639299999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999f8')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999f8'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00035032199999999997s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000193319s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575579b91d34c721210999f8')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000243486s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000597736s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00037317s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca321d34c75013955938')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca321d34c75013955938'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000525936s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca321d34c75013955938'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.033078144s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575aca321d34c75013955938')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"chang...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000457254s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00022738199999999999s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00034285s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575aca321d34c75013955939'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000316769s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575aca321d34c75013955939')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000275313s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('575aca321d34c75013955939')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000401986s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000228288s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000332476s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca321d34c7501395593a')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca321d34c7501395593a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000394012s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575aca321d34c7501395593a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000314823s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000397772s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00047056s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca321d34c7501395593b')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca321d34c7501395593b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000776668s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575aca321d34c7501395593b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000382774s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000258398s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00039159s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca321d34c7501395593c')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca321d34c7501395593c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000391321s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575aca321d34c7501395593c')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000463527s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000299992s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000274517s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0005175199999999999s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000358539s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000293454s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca321d34c7501395593d')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca321d34c7501395593d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.013832936s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00026132200000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575aca321d34c7501395593d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00027983s
-------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_does_not_increment_version_of_all_docs_if_query_is_empty
-------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000214813s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000272279s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca321d34c7501395593e')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca321d34c7501395593e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00045146199999999997s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000252705s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00037037999999999996s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca321d34c7501395593f')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca321d34c7501395593f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000631038s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575aca321d34c7501395593f')}, "update"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000967756s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575aca321d34c7501395593f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00034078499999999997s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000288155s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00035704s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca321d34c75013955940')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca321d34c75013955940'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00037851000000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"$or"=>[{"_id"=>BSON::ObjectId('575aca321d34c75013955941')}, {"name"=>"bhargav"}]}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca321d34c75013955941'), "before_create_field"=>1, "after_create_field"=>0, ...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000560785s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00024934699999999997s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000179929s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000395718s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca321d34c75013955942')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca321d34c75013955942'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000450444s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575aca321d34c75013955942')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000625441s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575aca321d34c75013955942')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000250489s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000216006s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00036802600000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca321d34c75013955943')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca321d34c75013955943'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000566332s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca321d34c75013955944')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca321d34c75013955944'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00047193399999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca321d34c75013955943')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca321d34c75013955945'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00031092100000000003s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000217042s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00020497s
----------------------------------
CoreExtTest: test_versioned_upsert
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000176711s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000343307s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca321d34c75013955946')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca321d34c75013955946'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000293393s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca321d34c75013955946'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000485645s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575aca321d34c75013955946')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000465484s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000237102s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000276306s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575aca321d34c75013955947'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000370694s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('575aca321d34c75013955947')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0007096100000000001s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575aca321d34c75013955947')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000406908s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000171947s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000236301s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca321d34c75013955948')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca321d34c75013955948'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0006221569999999999s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00033770999999999996s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000350308s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca321d34c75013955949')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca321d34c75013955949'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000397104s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca321d34c7501395594a')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca321d34c7501395594a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000428182s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000243152s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000286238s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575aca321d34c7501395594b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000253911s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000168925s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000157925s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00027802100000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca321d34c7501395594c')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca321d34c7501395594c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00034803000000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca321d34c7501395594c')}, "update"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.026189168999999998s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575aca321d34c7501395594c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000323974s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00022552099999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000296954s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca321d34c7501395594d')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca321d34c7501395594d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000395682s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca321d34c7501395594d')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gma...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000340507s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575aca321d34c7501395594d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000283262s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000188733s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00026208599999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca321d34c7501395594e')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca321d34c7501395594e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.001401507s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575aca321d34c7501395594e')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00117221s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575aca321d34c7501395594e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000597646s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000701219s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000407953s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca401d34c7503078fa98')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca401d34c7503078fa98'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000587966s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca401d34c7503078fa98'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000783856s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575aca401d34c7503078fa98')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"chang...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000419801s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000226543s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000331498s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca401d34c7503078fa99')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca401d34c7503078fa99'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000444048s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575aca401d34c7503078fa99')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000336398s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00023393s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000303938s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca401d34c7503078fa9a')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca401d34c7503078fa9a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000576267s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575aca401d34c7503078fa9a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000307015s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000371384s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.8755338029999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca411d34c7503078fa9b')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca411d34c7503078fa9b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0006287609999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca411d34c7503078fa9b')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gma...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000491405s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575aca411d34c7503078fa9b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000593999s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000466448s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000548406s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca411d34c7503078fa9c')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca411d34c7503078fa9c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0008870480000000001s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000361161s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00040988300000000005s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca411d34c7503078fa9d')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca411d34c7503078fa9d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000507624s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca411d34c7503078fa9e')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca411d34c7503078fa9e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000589626s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca411d34c7503078fa9d')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca411d34c7503078fa9f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000417728s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000278996s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000347913s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000275933s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000461513s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca411d34c7503078faa0')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca411d34c7503078faa0'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00064004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575aca411d34c7503078faa0')}, "update"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0007566729999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575aca411d34c7503078faa0')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00036977900000000004s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000426203s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00051805s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca411d34c7503078faa1')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca411d34c7503078faa1'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000565914s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca411d34c7503078faa1')}, "update"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00047211599999999996s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575aca411d34c7503078faa1')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000388381s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00037894800000000005s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000498464s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca411d34c7503078faa2')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca411d34c7503078faa2'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000614435s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575aca411d34c7503078faa2')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0006782530000000001s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00031916700000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000330844s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca411d34c7503078faa3')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca411d34c7503078faa3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0006294549999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"$or"=>[{"_id"=>BSON::ObjectId('575aca411d34c7503078faa4')}, {"name"=>"bhargav"}]}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca411d34c7503078faa4'), "before_create_field"=>1, "after_create_field"=>0, ...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000507512s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000231455s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000204724s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00030004799999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca411d34c7503078faa5')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca411d34c7503078faa5'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000547641s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca411d34c7503078faa6')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca411d34c7503078faa6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000680547s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000391737s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000436408s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575aca411d34c7503078faa7'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.0005179280000000001s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575aca411d34c7503078faa7')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000537396s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('575aca411d34c7503078faa7')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.019939539s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000291071s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000392302s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000338052s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000267717s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000384403s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca411d34c7503078faa8')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca411d34c7503078faa8'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000487313s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575aca411d34c7503078faa8')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005479370000000001s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575aca411d34c7503078faa8')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000323694s
----------------------------------
CoreExtTest: test_versioned_upsert
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000217315s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0003185s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca411d34c7503078faa9')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca411d34c7503078faa9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000315289s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca411d34c7503078faa9'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000387381s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575aca411d34c7503078faa9')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000280724s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000231239s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00026901899999999995s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca411d34c7503078faaa')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca411d34c7503078faaa'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000332206s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000162448s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575aca411d34c7503078faaa')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00022694000000000002s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000173133s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000243591s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575aca411d34c7503078faab'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000244473s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('575aca411d34c7503078faab')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000742154s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575aca411d34c7503078faab')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00047428499999999996s
-------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_does_not_increment_version_of_all_docs_if_query_is_empty
-------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00037371699999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000450351s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca411d34c7503078faac')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca411d34c7503078faac'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000415916s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575aca411d34c7503078faac')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000273003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | FAILED | need remove or update () | 0.000235153s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000205966s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00027626999999999996s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca411d34c7503078faad')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca411d34c7503078faad'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00039741s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575aca411d34c7503078faad')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000503602s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575aca411d34c7503078faad')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000223198s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000404374s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000311752s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575aca411d34c7503078faae'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000366743s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000306037s
-------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_does_not_increment_version_of_all_docs_if_query_is_empty
-------------------------------------------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00043294000000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000473017s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca7c1d34c750516f6ee8')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca7c1d34c750516f6ee8'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000506413s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575aca7c1d34c750516f6ee8')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00028226300000000005s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00017878099999999998s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000212807s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000326496s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575aca7c1d34c750516f6ee9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000445022s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('575aca7c1d34c750516f6ee9')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00068307s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575aca7c1d34c750516f6ee9')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000513787s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000367914s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00042815599999999996s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca7c1d34c750516f6eea')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca7c1d34c750516f6eea'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000392988s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca7c1d34c750516f6eeb')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca7c1d34c750516f6eeb'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000378611s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000206143s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00025442s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca7c1d34c750516f6eec')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca7c1d34c750516f6eec'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00032457499999999996s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca7c1d34c750516f6eec')}, "update"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000255041s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575aca7c1d34c750516f6eec')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000207406s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000169588s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00023077200000000002s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca7c1d34c750516f6eed')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca7c1d34c750516f6eed'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000295972s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575aca7c1d34c750516f6eed')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0006058379999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575aca7c1d34c750516f6eed')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00039573099999999997s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000368374s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00030265399999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca7c1d34c750516f6eee')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca7c1d34c750516f6eee'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000296485s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca7c1d34c750516f6eee'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000428931s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575aca7c1d34c750516f6eee')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"chang...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000312854s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000207089s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000272839s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca7c1d34c750516f6eef')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca7c1d34c750516f6eef'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000625391s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000270351s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000326491s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca7c1d34c750516f6ef0')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca7c1d34c750516f6ef0'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000483438s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575aca7c1d34c750516f6ef0')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000470407s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00043112200000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000312561s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca7c1d34c750516f6ef1')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca7c1d34c750516f6ef1'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00032765699999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575aca7c1d34c750516f6ef1')}, "update"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000349531s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575aca7c1d34c750516f6ef1')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00021246600000000002s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00019229299999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000261922s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575aca7c1d34c750516f6ef2'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00031257400000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575aca7c1d34c750516f6ef2')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000277508s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('575aca7c1d34c750516f6ef2')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00032022s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00023260200000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00033922600000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca7c1d34c750516f6ef3')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca7c1d34c750516f6ef3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000604677s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575aca7c1d34c750516f6ef3')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0007484880000000001s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000326246s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00036534800000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca7c1d34c750516f6ef4')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca7c1d34c750516f6ef4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000396764s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"$or"=>[{"_id"=>BSON::ObjectId('575aca7c1d34c750516f6ef5')}, {"name"=>"bhargav"}]}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca7c1d34c750516f6ef5'), "before_create_field"=>1, "after_create_field"=>0, ...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000394646s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000218355s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00019793s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.040385504s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca7d1d34c750516f6ef6')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca7d1d34c750516f6ef6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000683331s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca7d1d34c750516f6ef7')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca7d1d34c750516f6ef7'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000466007s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca7d1d34c750516f6ef6')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca7d1d34c750516f6ef8'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000406768s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000295264s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.0003395s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000257836s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000303103s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000289831s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00025960800000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000320544s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca7d1d34c750516f6ef9')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca7d1d34c750516f6ef9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00040093700000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575aca7d1d34c750516f6ef9')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000424758s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575aca7d1d34c750516f6ef9')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00035134s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00024328400000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000313316s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575aca7d1d34c750516f6efa'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000253206s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00017404s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00017078499999999999s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00022198700000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca7d1d34c750516f6efb')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca7d1d34c750516f6efb'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000532186s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000337821s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575aca7d1d34c750516f6efb')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00032682500000000004s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000323552s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000405366s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca7d1d34c750516f6efc')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca7d1d34c750516f6efc'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000429792s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575aca7d1d34c750516f6efc')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00026950499999999996s
----------------------------------
CoreExtTest: test_versioned_upsert
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00016322s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000272744s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca7d1d34c750516f6efd')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca7d1d34c750516f6efd'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00044220800000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca7d1d34c750516f6efd'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000487524s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575aca7d1d34c750516f6efd')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00026364600000000003s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000230003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00025283799999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca7d1d34c750516f6efe')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575aca7d1d34c750516f6efe'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000445297s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575aca7d1d34c750516f6efe')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gma...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000344729s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575aca7d1d34c750516f6efe')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000393867s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0006494410000000001s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00042576399999999997s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575acaa41d34c7508bb7473d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000680884s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575acaa41d34c7508bb7473d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000536685s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('575acaa41d34c7508bb7473d')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000647822s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00035427500000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00033814s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acaa41d34c7508bb7473e')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acaa41d34c7508bb7473e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000408116s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575acaa41d34c7508bb7473e')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000582538s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575acaa41d34c7508bb7473e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00034263699999999997s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000269093s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000302011s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acaa41d34c7508bb7473f')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acaa41d34c7508bb7473f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000580482s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acaa41d34c7508bb7473f')}, "update"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00046869s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575acaa41d34c7508bb7473f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000269307s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000206612s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.098312781s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acaa51d34c7508bb74740')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acaa51d34c7508bb74740'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000668863s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575acaa51d34c7508bb74740')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000664539s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000356521s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000498183s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575acaa51d34c7508bb74741'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000482954s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('575acaa51d34c7508bb74741')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005943750000000001s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575acaa51d34c7508bb74741')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000424159s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000383954s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000449716s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acaa51d34c7508bb74742')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acaa51d34c7508bb74742'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000504468s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575acaa51d34c7508bb74742')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000370886s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000299297s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000386966s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acaa51d34c7508bb74743')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acaa51d34c7508bb74743'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005072379999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acaa51d34c7508bb74744')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acaa51d34c7508bb74744'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0007407809999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acaa51d34c7508bb74743')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acaa51d34c7508bb74745'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000580992s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000440288s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000516585s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000448499s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0006275650000000001s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000409418s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000334024s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000403967s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acaa51d34c7508bb74746')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acaa51d34c7508bb74746'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00039803s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575acaa51d34c7508bb74746')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000517534s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575acaa51d34c7508bb74746')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000459473s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00028547s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00036174s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acaa51d34c7508bb74747')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acaa51d34c7508bb74747'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000546093s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00036353899999999996s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575acaa51d34c7508bb74747')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.0005420339999999999s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00040335s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00037125600000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acaa51d34c7508bb74748')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acaa51d34c7508bb74748'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0007394830000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acaa51d34c7508bb74748'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000589702s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575acaa51d34c7508bb74748')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"chang...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000412214s
-------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_does_not_increment_version_of_all_docs_if_query_is_empty
-------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00024006100000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000428998s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acaa51d34c7508bb74749')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acaa51d34c7508bb74749'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005174629999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575acaa51d34c7508bb74749')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000381208s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog"}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000402026s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000316211s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000532786s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000428496s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575acaa51d34c7508bb7474a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00034089200000000003s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000381587s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00031125200000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00045594300000000005s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acaa51d34c7508bb7474b')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acaa51d34c7508bb7474b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000694084s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000296035s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.11293515s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acaa51d34c7508bb7474c')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acaa51d34c7508bb7474c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00092519s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575acaa51d34c7508bb7474c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000613595s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000442401s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0006764350000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acaa51d34c7508bb7474d')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acaa51d34c7508bb7474d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0012246989999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575acaa51d34c7508bb7474d')}, "update"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.001232419s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575acaa51d34c7508bb7474d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000628871s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0005534639999999999s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000596615s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acaa51d34c7508bb7474e')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acaa51d34c7508bb7474e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000745863s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acaa51d34c7508bb7474f')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acaa51d34c7508bb7474f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000917787s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000521007s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00063515s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acaa51d34c7508bb74750')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acaa51d34c7508bb74750'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000754731s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acaa51d34c7508bb74750')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gma...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000617905s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575acaa51d34c7508bb74750')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.0006120349999999999s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00042316500000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0007732559999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acaa51d34c7508bb74751')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acaa51d34c7508bb74751'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000811518s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"$or"=>[{"_id"=>BSON::ObjectId('575acaa51d34c7508bb74752')}, {"name"=>"bhargav"}]}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acaa51d34c7508bb74752'), "before_create_field"=>1, "after_create_field"=>0, ...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0007238619999999999s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000415819s
----------------------------------
CoreExtTest: test_versioned_upsert
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000362436s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00047902000000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acaa51d34c7508bb74753')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acaa51d34c7508bb74753'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000745878s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acaa51d34c7508bb74753'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0007622050000000001s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575acaa51d34c7508bb74753')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000416893s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.001116108s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000558976s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575acbcf1d34c750e6c3dd00'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000385705s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('575acbcf1d34c750e6c3dd00')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000309116s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575acbcf1d34c750e6c3dd00')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00022079400000000001s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00018233s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00026159400000000003s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575acbcf1d34c750e6c3dd01'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00022549799999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575acbcf1d34c750e6c3dd01')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000212988s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('575acbcf1d34c750e6c3dd01')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000427498s
--------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_increments_version_if_doc_created
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000252048s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000339634s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000265754s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000498321s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd02')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd02'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0010554759999999999s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000330665s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000387277s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd03')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd03'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00039806300000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd03')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gma...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000321907s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd03')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000256451s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000188726s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000286148s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd04')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd04'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00045111500000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd04')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00028580600000000005s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00020199699999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.16950905s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd05')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd05'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000542032s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000359308s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd05')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000361007s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000318975s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000450631s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd06')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd06'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000487584s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd06')}, "update"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000396782s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd06')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000449569s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000405466s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000505632s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000386324s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000292081s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00030419400000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd07')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd07'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000412252s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd07')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00043688600000000005s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd07')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000341301s
----------------------------------
CoreExtTest: test_versioned_upsert
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0002575s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00044686s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd08')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd08'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00046537200000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd08'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00044113999999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd08')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00026950700000000005s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000225281s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00031215100000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd09')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd09'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00038833199999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd0a')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd0a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00031059400000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd09')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd0b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000314062s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000204435s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000262285s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00019355s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000239579s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd0c')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd0c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000329368s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"$or"=>[{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd0d')}, {"name"=>"bhargav"}]}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd0d'), "before_create_field"=>1, "after_create_field"=>0, ...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000757387s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00040391200000000003s
-------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_does_not_increment_version_of_all_docs_if_query_is_empty
-------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000345205s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0005143249999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd0e')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd0e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00043929300000000005s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd0e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000352324s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog"}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00031872199999999996s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00020066599999999998s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000180511s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000288289s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd0f')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd0f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000330656s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd0f')}, "update"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000375385s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd0f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000259312s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000195448s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000322922s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd10')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd10'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00040381600000000004s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd10')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000453409s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000332339s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00031856800000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd11')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd11'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000325892s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd11'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00033922600000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd11')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"chang...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00026861s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000167241s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000206987s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd12')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd12'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000384832s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd13')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd13'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000279206s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000162055s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000200945s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd14')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd14'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000315897s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd14')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0006964650000000001s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd14')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00044284200000000004s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00030086100000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00037771800000000003s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd15'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000342058s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00030751s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00017692899999999999s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.037645452s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd16')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd16'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0006144939999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd16')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000681664s
-----------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_increments_version_if_doc_found_but_doesnt_affect_other_docs
-----------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000474101s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000403279s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd17')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd17'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000474499s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd18')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd18'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000629404s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd17')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000621425s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd17')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000325944s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575acbd01d34c750e6c3dd18')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000291878s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0006115129999999999s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00031657800000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb57d')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb57d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00046195000000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb57d'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000390934s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb57d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00028384899999999997s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00022049000000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00027742s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb57e')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb57e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0003403s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb57e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00023306899999999997s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00016576499999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.033204860999999995s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb57f')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb57f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0009186239999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb57f'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000894801s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575acc121d34c75115fcb57f')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"chang...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000495214s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00030546s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00039452499999999995s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb580')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb580'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000459981s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb580')}, "update"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000429593s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb580')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00036407299999999997s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00030453100000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000340888s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb581')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb581'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000523928s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb581')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gma...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000485161s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb581')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000268286s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00020701400000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000266441s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575acc121d34c75115fcb582'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000325537s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb582')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000351012s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb582')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000234745s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000215966s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000302278s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb583')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb583'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000571043s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000259438s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000344633s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00020273600000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000200115s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb584')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb584'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000374557s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"$or"=>[{"_id"=>BSON::ObjectId('575acc121d34c75115fcb585')}, {"name"=>"bhargav"}]}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb585'), "before_create_field"=>1, "after_create_field"=>0, ...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00044389500000000003s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000178113s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00015013s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000250021s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575acc121d34c75115fcb586'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000237297s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb586')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000216253s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb586')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00028075100000000004s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00016572199999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00024538399999999997s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575acc121d34c75115fcb587'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000225844s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00017083499999999999s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00014514699999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000221585s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb588')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb588'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000303157s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575acc121d34c75115fcb588')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000603076s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb588')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000380595s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000250746s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000449637s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb589')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb589'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00060159s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb58a')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb58a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000443039s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb589')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb58b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000364815s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000219587s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00026248199999999997s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000177502s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000215277s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb58c')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb58c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000301234s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000185912s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb58c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00023014999999999998s
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000251211s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00037106s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb58d')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb58d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00037908s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb58e')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb58e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00040687499999999996s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb58d')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000398358s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb58d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00032219999999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb58e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000229183s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000178533s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000249009s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb58f')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb58f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000318633s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575acc121d34c75115fcb58f')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000366147s
-----------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_increment_version_of_all_docs_if_query_is_empty
-----------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00022285s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000205174s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb590')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb590'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000272187s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb590')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000198559s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog"}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00028715399999999997s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000339899s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000299751s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000641098s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb591')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb591'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.020731226s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb591')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000290868s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000271827s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00033202599999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb592')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb592'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00039140999999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575acc121d34c75115fcb592')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000442039s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb592')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00023979400000000002s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000171154s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000260278s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000341128s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00024119400000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000211619s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb593')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb593'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000415838s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb594')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb594'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00040851600000000004s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000193308s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000244383s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb595')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb595'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000364126s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575acc121d34c75115fcb595')}, "update"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000445715s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575acc121d34c75115fcb595')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000288034s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000629427s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000492182s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d4617')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d4617'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000493519s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575ace351d34c752282d4617')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00044396s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00022113599999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00028908000000000004s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000329896s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000308429s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000222633s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575ace351d34c752282d4618'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000271386s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d4618')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000232234s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d4618')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000341272s
---------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_affect_all_docs_if_query_is_empty
---------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000260402s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00044899699999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d4619')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d4619'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000471331s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d4619')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000322765s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog"}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000533666s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000238055s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00029965099999999995s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00035988100000000005s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d461a')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d461a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005278930000000001s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d461a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00036615s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000267557s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.034824147s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d461b')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d461b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000515847s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575ace351d34c752282d461b')}, "update"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000493355s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d461b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000346058s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00034373499999999996s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00045362099999999997s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000458649s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00040704600000000005s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d461c')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d461c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000431196s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d461c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000234638s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00025441099999999996s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000303122s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d461d')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d461d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000552565s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d461d')}, "update"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00046243099999999996s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d461d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00031357600000000003s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00024083299999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00026982300000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d461e')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d461e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000377725s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575ace351d34c752282d461e')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000703487s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d461e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00043636200000000003s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000339694s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0005884530000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d461f')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d461f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000610907s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d461f')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gma...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00047093899999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d461f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000242648s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000508972s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0003983s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575ace351d34c752282d4620'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000456157s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000268252s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00022430600000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000246932s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d4621')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d4621'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000558106s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d4621'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000492989s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575ace351d34c752282d4621')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"chang...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000433911s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000197389s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000265731s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d4622')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d4622'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000332378s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d4623')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d4623'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000316s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000211952s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00026134000000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d4624')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d4624'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000619849s
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000331523s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00030432100000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d4625')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d4625'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000370942s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d4626')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d4626'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000333959s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d4625')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00032203200000000004s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d4625')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000228902s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d4626')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00024213000000000001s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000189413s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00027577200000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d4627')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d4627'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000357862s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575ace351d34c752282d4627')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0004043s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d4627')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000282353s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00026587299999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000421493s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d4628')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d4628'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00043561200000000004s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0002486s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d4628')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000222089s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000180274s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00026657899999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d4629')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d4629'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000330557s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"$or"=>[{"_id"=>BSON::ObjectId('575ace351d34c752282d462a')}, {"name"=>"bhargav"}]}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d462a'), "before_create_field"=>1, "after_create_field"=>0, ...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000397591s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00020732499999999998s
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00023492699999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00031879600000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d462b')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d462b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.034313578000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d462b'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000543853s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d462b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00029056700000000004s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000337423s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00045720200000000003s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575ace351d34c752282d462c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000393337s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d462c')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000368244s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d462c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000205919s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00021060800000000001s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000242502s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d462d')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d462d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000361733s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d462e')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d462e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000325827s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d462d')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ace351d34c752282d462f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000271443s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000199617s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000300597s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000520608s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000329664s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed3b')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed3b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000411606s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed3c')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed3c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000333539s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed3b')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed3d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000502692s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00031497000000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000479369s
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00028208700000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000544316s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed3e')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed3e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00048438s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed3e'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000538938s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed3e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000341063s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000225503s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00024591s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed3f')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed3f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0008349130000000001s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000326602s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00042566699999999996s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed40')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed40'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.067808558s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed40')}, "update"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000586912s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed40')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000387536s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000323403s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000460399s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed41'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000445042s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed41')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000502423s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed41')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00031763500000000003s
------------------------------------------------------------------------
CoreExtTest: test_bypass_versioning_gives_op_success_in_versioned_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00031888s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000401985s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed42')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed42'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000564436s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed42')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000586399s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed42')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"updated name", "ema...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000478626s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed42')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000335444s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00032975999999999996s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000340723s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed43'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000349514s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00023777799999999999s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000234379s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000397161s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed44')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed44'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000556964s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00032999900000000004s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed44')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00031512500000000003s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000301486s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00029708299999999996s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00039052300000000004s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000228325s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000331216s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed45')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed45'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000441869s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575ad0791d34c7531466ed45')}, "update"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000436188s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed45')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000390373s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000384761s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00048276s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed46')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed46'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000491269s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"$or"=>[{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed47')}, {"name"=>"bhargav"}]}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed47'), "before_create_field"=>1, "after_create_field"=>0, ...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000566339s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000282625s
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000258919s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00031371s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed48')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed48'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000382196s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed49')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed49'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000359276s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed48')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000299602s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed48')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000343108s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed49')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000273206s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00024003099999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000334349s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed4a')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed4a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00064868s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed4b')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed4b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000432753s
---------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_affect_all_docs_if_query_is_empty
---------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00023484000000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00024317799999999998s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed4c')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed4c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000292476s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed4c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00023305399999999998s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog"}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00029197200000000004s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000183298s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00015737200000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000236624s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed4d')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed4d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000316655s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575ad0791d34c7531466ed4d')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000364302s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed4d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00039709s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000255223s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0003337s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed4e')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed4e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0006850809999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed4e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000484419s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00032244800000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000433179s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed4f')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed4f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0036291879999999998s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575ad0791d34c7531466ed4f')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000408719s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000197294s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000213733s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed50'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00030652900000000005s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed50')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000197429s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed50')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000275389s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000169032s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000219212s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000260577s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000493521s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed51')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed51'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000453416s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed51'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00033102800000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575ad0791d34c7531466ed51')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"chang...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000251514s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000162105s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000201568s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed52')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed52'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000259744s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed52')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gma...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000233525s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed52')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00017955100000000002s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000173521s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000210468s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed53')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed53'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000282078s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575ad0791d34c7531466ed53')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000533709s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed53')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00144275s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0002644s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0005302410000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed54')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed54'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000637364s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad0791d34c7531466ed54')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000452288s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00063411s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000518798s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0b51d34c7534105330b')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad0b51d34c7534105330b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000465651s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad0b51d34c7534105330b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00029295899999999997s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000231634s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00029947000000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0b51d34c7534105330c')}, "update"=>{"$set"=>{"_id"=>BSON::ObjectId('575ad0b51d34c7534105330c'), "version"=>0, "before_create_field"=>0, "after_create_field"=>0, "before_update_field"=>0, ...
MONGODB | localhost:27017 | dummy_test.findandmodify | FAILED | exception: Cannot update 'version' and 'version' at the same time (16836) | 0.047385615s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000279299s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000279141s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0b51d34c7534105330d')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad0b51d34c7534105330d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0100977s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0b51d34c7534105330e')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad0b51d34c7534105330e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000662689s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00038994299999999996s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00035730099999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0b51d34c7534105330f')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad0b51d34c7534105330f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000434391s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"$or"=>[{"_id"=>BSON::ObjectId('575ad0b51d34c75341053310')}, {"name"=>"bhargav"}]}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad0b51d34c75341053310'), "before_create_field"=>1, "after_create_field"=>0, ...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000683804s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00027849099999999996s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000241111s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000334367s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575ad0b51d34c75341053311'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00032902s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad0b51d34c75341053311')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000377626s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('575ad0b51d34c75341053311')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00046031800000000003s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000272885s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000313018s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0b51d34c75341053312')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad0b51d34c75341053312'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00036973700000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0b51d34c75341053312'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005872s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575ad0b51d34c75341053312')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"chang...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005458290000000001s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000347617s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000381189s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0b51d34c75341053313')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad0b51d34c75341053313'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000591982s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad0b51d34c75341053313')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000361544s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00024526400000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00031807s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575ad0b51d34c75341053314'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00041118700000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('575ad0b51d34c75341053314')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005748439999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad0b51d34c75341053314')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00037354500000000003s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000259802s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000324739s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00029688999999999996s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000449182s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000364835s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0b51d34c75341053315')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad0b51d34c75341053315'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000736238s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575ad0b51d34c75341053315')}, "update"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000666469s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad0b51d34c75341053315')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00035988000000000003s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00040900699999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00044569s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0b51d34c75341053316')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad0b51d34c75341053316'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000486511s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0b51d34c75341053316')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gma...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000430151s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad0b51d34c75341053316')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000236644s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00031193100000000005s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00040629800000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0b51d34c75341053317')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad0b51d34c75341053317'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000674308s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575ad0b51d34c75341053317')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000541357s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad0b51d34c75341053317')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000290292s
------------------------------------------------------------------------
CoreExtTest: test_bypass_versioning_gives_op_success_in_versioned_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000214775s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000368497s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0b51d34c75341053318')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad0b51d34c75341053318'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000498334s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad0b51d34c75341053318')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00038163600000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0b51d34c75341053318')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"updated name", "ema...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000538108s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad0b51d34c75341053318')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00031862899999999996s
---------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_affect_all_docs_if_query_is_empty
---------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00028749499999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00034616000000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0b51d34c75341053319')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad0b51d34c75341053319'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000453836s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad0b51d34c75341053319')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000269551s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog"}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000300307s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000172806s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000135563s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000232145s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0b51d34c7534105331a')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad0b51d34c7534105331a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000321151s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575ad0b51d34c7534105331a')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000425156s
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00029159s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00041919s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0b51d34c7534105331b')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad0b51d34c7534105331b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00046915s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0b51d34c7534105331c')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad0b51d34c7534105331c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000456202s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0b51d34c7534105331b')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000393297s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad0b51d34c7534105331b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00031533699999999995s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad0b51d34c7534105331c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000331455s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00026544599999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000380756s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0b51d34c7534105331d')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad0b51d34c7534105331d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0028118920000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0b51d34c7534105331e')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad0b51d34c7534105331e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005325070000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0b51d34c7534105331d')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad0b51d34c7534105331f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00045103s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000346775s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000341613s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000252449s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0005393269999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0b51d34c75341053320')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad0b51d34c75341053320'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000482574s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0b51d34c75341053320')}, "update"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000408007s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad0b51d34c75341053320')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000308012s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000252767s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000329634s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0b51d34c75341053321')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad0b51d34c75341053321'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005614s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000323259s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000299034s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0b51d34c75341053322')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad0b51d34c75341053322'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0011853109999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575ad0b51d34c75341053322')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000635516s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad0b51d34c75341053322')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00027086499999999996s
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000151694s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000241651s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0b51d34c75341053323')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad0b51d34c75341053323'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000329173s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0b51d34c75341053323'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000397733s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad0b51d34c75341053323')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000282137s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000226622s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000213072s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575ad0b51d34c75341053324'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000224727s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000335714s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000163761s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000268726s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad0b51d34c75341053325')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad0b51d34c75341053325'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00036255s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000255719s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad0b51d34c75341053325')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00028678199999999997s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000735362s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000383657s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00034154s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00026315700000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000325503s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1671d34c75379214555')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1671d34c75379214555'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000660636s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575ad1671d34c75379214555')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000545441s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1671d34c75379214555')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000258586s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000180335s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000267216s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1671d34c75379214556')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1671d34c75379214556'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000366323s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1671d34c75379214556')}, "update"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000315241s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1671d34c75379214556')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000259731s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000230166s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000294635s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1671d34c75379214557')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1671d34c75379214557'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000305289s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575ad1671d34c75379214557')}, "update"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000349855s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1671d34c75379214557')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00036591s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000355402s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0005159779999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1671d34c75379214558')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1671d34c75379214558'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000436203s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1671d34c75379214558'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000421498s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575ad1671d34c75379214558')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"chang...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00027753699999999996s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00017387099999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00019745s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575ad1671d34c75379214559'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00029184400000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('575ad1671d34c75379214559')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000325484s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1671d34c75379214559')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000244984s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000230747s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00043128299999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1671d34c7537921455a')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1671d34c7537921455a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000496097s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1671d34c7537921455b')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1671d34c7537921455b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000437972s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1671d34c7537921455a')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1671d34c7537921455c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0006198040000000001s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000292589s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000248792s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00022636500000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000337431s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1671d34c7537921455d')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1671d34c7537921455d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000339878s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"$or"=>[{"_id"=>BSON::ObjectId('575ad1671d34c7537921455e')}, {"name"=>"bhargav"}]}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1671d34c7537921455e'), "before_create_field"=>1, "after_create_field"=>0, ...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00040262s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00019875600000000002s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000153881s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000253125s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1671d34c7537921455f')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1671d34c7537921455f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0006343760000000001s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00047049s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00033128700000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1671d34c75379214560')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1671d34c75379214560'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.027576379999999998s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1671d34c75379214561')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1671d34c75379214561'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000602318s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000308811s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00033473s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1671d34c75379214562')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1671d34c75379214562'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000377997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575ad1671d34c75379214562')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000713637s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1671d34c75379214562')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00038551s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00019498199999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000246117s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575ad1671d34c75379214563'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000234535s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1671d34c75379214563')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000204515s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('575ad1671d34c75379214563')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00027808300000000004s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000159584s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000292675s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1671d34c75379214564')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1671d34c75379214564'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000328386s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1671d34c75379214564')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gma...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00032348900000000005s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1671d34c75379214564')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00039909099999999996s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000349432s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00029863700000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1671d34c75379214565')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1671d34c75379214565'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000599856s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000324637s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1671d34c75379214565')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000244843s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000163982s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000284587s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1671d34c75379214566')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1671d34c75379214566'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000426524s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1671d34c75379214566')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000272262s
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000206978s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000234801s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1671d34c75379214567')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1671d34c75379214567'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000283212s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1671d34c75379214568')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1671d34c75379214568'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00034958200000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1671d34c75379214567')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000408591s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1671d34c75379214567')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000284827s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1671d34c75379214568')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00018454000000000002s
------------------------------------------------------------------------
CoreExtTest: test_bypass_versioning_gives_op_success_in_versioned_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000217616s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000218295s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1671d34c75379214569')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1671d34c75379214569'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005593779999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1671d34c75379214569')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000328978s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1671d34c75379214569')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"updated name", "ema...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000310519s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1671d34c75379214569')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00018979200000000002s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000183078s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000261107s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1671d34c7537921456a')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1671d34c7537921456a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00032427s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575ad1671d34c7537921456a')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000381961s
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000204125s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000263511s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1671d34c7537921456b')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1671d34c7537921456b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000298848s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1671d34c7537921456b'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000330672s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1671d34c7537921456b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000393099s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000277948s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000237685s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1671d34c7537921456c')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1671d34c7537921456c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000276728s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1671d34c7537921456c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000182137s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00015190499999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000202684s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575ad1671d34c7537921456d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000232321s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000183311s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000158759s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00021967s
---------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_affect_all_docs_if_query_is_empty
---------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000259911s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000506553s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1671d34c7537921456e')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1671d34c7537921456e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00044355s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1671d34c7537921456e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000362742s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog"}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000423211s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000188885s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000820264s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000379799s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1721d34c7539bd6ccd1')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1721d34c7539bd6ccd1'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000759893s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"$or"=>[{"_id"=>BSON::ObjectId('575ad1721d34c7539bd6ccd2')}, {"name"=>"bhargav"}]}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1721d34c7539bd6ccd2'), "before_create_field"=>1, "after_create_field"=>0, ...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000565796s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00034400100000000003s
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00028724299999999996s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00048345s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1721d34c7539bd6ccd3')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1721d34c7539bd6ccd3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000579551s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1721d34c7539bd6ccd3'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000420024s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1721d34c7539bd6ccd3')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00024020900000000002s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000190746s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000250534s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575ad1721d34c7539bd6ccd4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000272615s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1721d34c7539bd6ccd4')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000220556s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('575ad1721d34c7539bd6ccd4')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000326976s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000214993s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000297373s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575ad1721d34c7539bd6ccd5'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00027948s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('575ad1721d34c7539bd6ccd5')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000377599s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1721d34c7539bd6ccd5')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000335528s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000326709s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000436547s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1721d34c7539bd6ccd6')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1721d34c7539bd6ccd6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000318252s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000174761s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1721d34c7539bd6ccd6')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000218503s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00018786s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000215289s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1721d34c7539bd6ccd7')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1721d34c7539bd6ccd7'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000286377s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575ad1721d34c7539bd6ccd7')}, "update"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000377791s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1721d34c7539bd6ccd7')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000218266s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000181234s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000243319s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1721d34c7539bd6ccd8')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1721d34c7539bd6ccd8'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000661535s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00028184600000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000297458s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1721d34c7539bd6ccd9')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1721d34c7539bd6ccd9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00045290799999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1721d34c7539bd6ccd9')}, "update"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00058944s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1721d34c7539bd6ccd9')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000385405s
------------------------------------------------------------------------
CoreExtTest: test_bypass_versioning_gives_op_success_in_versioned_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000225677s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000331107s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1721d34c7539bd6ccda')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1721d34c7539bd6ccda'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000355951s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1721d34c7539bd6ccda')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00023391s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1721d34c7539bd6ccda')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"updated name", "ema...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000333265s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1721d34c7539bd6ccda')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000545709s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000317565s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000309457s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1721d34c7539bd6ccdb')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1721d34c7539bd6ccdb'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.500836693s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1731d34c7539bd6ccdc')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1731d34c7539bd6ccdc'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0009300199999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1721d34c7539bd6ccdb')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1731d34c7539bd6ccdd'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000686602s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00041144399999999996s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000562574s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000276014s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00038166s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1731d34c7539bd6ccde')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1731d34c7539bd6ccde'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000914993s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575ad1731d34c7539bd6ccde')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000886898s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00042028000000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000483467s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1731d34c7539bd6ccdf')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1731d34c7539bd6ccdf'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005848170000000001s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1731d34c7539bd6ccdf')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00036258s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000289106s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000376792s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1731d34c7539bd6cce0')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1731d34c7539bd6cce0'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000683164s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1731d34c7539bd6cce0')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gma...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00067874s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1731d34c7539bd6cce0')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.0004064s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000353309s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000322064s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1731d34c7539bd6cce1')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1731d34c7539bd6cce1'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000430752s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1731d34c7539bd6cce2')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1731d34c7539bd6cce2'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000413549s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00022305899999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000361438s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00034712s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000375591s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575ad1731d34c7539bd6cce3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000381393s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000257562s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000247338s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000340846s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1731d34c7539bd6cce4')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1731d34c7539bd6cce4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.001031664s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1731d34c7539bd6cce4')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000327132s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000442354s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000536552s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1731d34c7539bd6cce5')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1731d34c7539bd6cce5'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005276860000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575ad1731d34c7539bd6cce5')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000449742s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1731d34c7539bd6cce5')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000396563s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000319592s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000403304s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1731d34c7539bd6cce6')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1731d34c7539bd6cce6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000443947s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575ad1731d34c7539bd6cce6')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005618520000000001s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1731d34c7539bd6cce6')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000305334s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000459054s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000559596s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000322974s
---------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_affect_all_docs_if_query_is_empty
---------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000274511s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000376862s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1731d34c7539bd6cce7')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1731d34c7539bd6cce7'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000478233s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1731d34c7539bd6cce7')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000410591s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog"}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000616163s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000302259s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0007165510000000001s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.022034379s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1731d34c7539bd6cce8')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1731d34c7539bd6cce8'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00047278800000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1731d34c7539bd6cce8'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000574356s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575ad1731d34c7539bd6cce8')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"chang...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000701958s
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000544081s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000396693s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1731d34c7539bd6cce9')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1731d34c7539bd6cce9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0008442850000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1731d34c7539bd6ccea')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1731d34c7539bd6ccea'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000682707s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1731d34c7539bd6cce9')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000406133s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1731d34c7539bd6cce9')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000322257s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1731d34c7539bd6ccea')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00039991s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000828354s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0005024620000000001s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000326009s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000210406s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000234488s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0e2')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0e2'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.023843651s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0e2')}, "update"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000483422s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0e2')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000428801s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00025763699999999996s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000326386s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0e3')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0e3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000353468s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575ad1841d34c753b537d0e3')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000403065s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0e3')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000254362s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000171993s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00023956900000000002s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0e4')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0e4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000297694s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0e4')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00022629600000000002s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000219924s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000242589s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0e5')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0e5'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000412921s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0e5'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000541732s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575ad1841d34c753b537d0e5')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"chang...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000558678s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000507716s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00040596699999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0e6')}, "update"=>{"$set"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0e6'), "before_create_field"=>0, "after_create_field"=>0, "before_update_field"=>0, "after_update_...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005382869999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0e6')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00029095300000000004s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000250764s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000276687s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0e7'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000248051s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0e7')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00020863799999999998s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0e7')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000352883s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000196385s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000226002s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0e8')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0e8'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000283735s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0e9')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0e9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000321352s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00020432099999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000223967s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0ea')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0ea'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00028229300000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0ea')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00019446400000000001s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000153481s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000209385s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0eb'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00042381200000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0eb')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000506942s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0eb')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000283664s
---------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_affect_all_docs_if_query_is_empty
---------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000240566s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00029268800000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0ec')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0ec'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000397265s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0ec')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000319243s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog"}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000447233s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000267245s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000190758s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000283318s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0ed')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0ed'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000400632s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"$or"=>[{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0ee')}, {"name"=>"bhargav"}]}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0ee'), "before_create_field"=>1, "after_create_field"=>0, ...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005135309999999999s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000385036s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00027347600000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00032853900000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0ef')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0ef'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000376944s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0ef')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gma...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000325196s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0ef')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000258106s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00018712200000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000290933s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0f0')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0f0'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000347267s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575ad1841d34c753b537d0f0')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000520498s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00025450799999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00034133599999999997s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0f1'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000385666s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00025962900000000004s
------------------------------------------------------------------------
CoreExtTest: test_bypass_versioning_gives_op_success_in_versioned_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000169082s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000321039s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0f2')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0f2'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000376192s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0f2')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000235834s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0f2')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"updated name", "ema...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000357131s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0f2')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000285397s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000245206s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00023054500000000002s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0f3')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0f3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000311762s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0f4')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0f4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000348054s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0f3')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0f5'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00041423s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00031865s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000538215s
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000318729s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00036805s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0f6')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0f6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005019380000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0f7')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0f7'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00052538s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0f6')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000456835s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0f6')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000238357s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0f7')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000221357s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000222174s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00025268299999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0f8')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0f8'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00038547799999999997s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000165742s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0f8')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000214113s
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00016709399999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0011213780000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0f9')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0f9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0006863409999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0f9'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000708572s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0f9')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00027703199999999997s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000199013s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000252265s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0fa')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0fa'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000746342s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000342321s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0002856s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0fb')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0fb'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00043160000000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575ad1841d34c753b537d0fb')}, "update"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00045885800000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0fb')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000288893s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000165562s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000258442s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0fc')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0fc'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00030743700000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575ad1841d34c753b537d0fc')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000325675s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1841d34c753b537d0fc')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00020803s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0006747960000000001s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00041177200000000003s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000305413s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000220113s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00031471799999999996s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0d9f')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0d9f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000448649s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0da0')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0da0'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00037782s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0d9f')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0da1'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000268821s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000213369s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000387205s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00024293s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000253718s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0da2'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000353592s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00022500799999999998s
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00015076s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000247903s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0da3')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0da3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000312523s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0da3'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00031727000000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0da3')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000220062s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000178224s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00024644s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0da4')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0da4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000278284s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575ad1901d34c753d2fd0da4')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000357784s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0da4')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000346056s
------------------------------------------------------------------------
CoreExtTest: test_bypass_versioning_gives_op_success_in_versioned_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000254832s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00035505300000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0da5')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0da5'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000635724s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0da5')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00043241s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0da5')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"updated name", "ema...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000369898s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0da5')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000204766s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000155954s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000263097s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0da6')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0da6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000338708s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00021213900000000002s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0da6')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000189262s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000150887s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000222685s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0da7')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0da7'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005818059999999999s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000286797s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000528182s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0da8')}, "update"=>{"$set"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0da8'), "before_create_field"=>0, "after_create_field"=>0, "before_update_field"=>0, "after_update_...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000556035s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0da8')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000507973s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000340883s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000310752s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0da9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.20692907400000002s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0da9')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000566498s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0da9')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000421943s
---------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_affect_all_docs_if_query_is_empty
---------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000373075s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000465503s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0daa')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0daa'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005986619999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0daa')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000465848s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog"}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000618836s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000438385s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000384425s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00041084s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0dab')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0dab'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000474701s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"$or"=>[{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0dac')}, {"name"=>"bhargav"}]}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0dac'), "before_create_field"=>1, "after_create_field"=>0, ...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000543402s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00040546099999999997s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000279598s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000344339s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0dad')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0dad'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000482701s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0dad')}, "update"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000561684s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0dad')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000428861s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00032043100000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00041661s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0dae')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0dae'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00039245s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575ad1901d34c753d2fd0dae')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005653100000000001s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00026071600000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00029992s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0daf')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0daf'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000360692s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575ad1901d34c753d2fd0daf')}, "update"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00039934599999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0daf')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000247668s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00022369500000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00028728099999999996s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0db0')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0db0'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000515598s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0db0')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00043287400000000003s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000352933s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000310403s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0db1')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0db1'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000401s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0db1')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gma...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00034237199999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0db1')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000411432s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000211128s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00026061599999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0db2')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0db2'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00034814099999999995s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0db2')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000239412s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000174206s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000301611s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0db3')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0db3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000372848s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575ad1901d34c753d2fd0db3')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000517331s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0db3')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000337385s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00034548s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0004175s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0db4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000467387s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0db4')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000315129s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0db4')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000631465s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000311952s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000321011s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0db5')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0db5'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00041961399999999996s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0db6')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0db6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000386374s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000250168s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000356762s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0db7')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0db7'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000381444s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0db7'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00039034299999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('575ad1901d34c753d2fd0db7')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"chang...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00041888499999999997s
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000454549s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000364595s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0db8')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0db8'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000546788s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0db9')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0db9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005993779999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0db8')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000450416s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0db8')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00037564200000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('575ad1901d34c753d2fd0db9')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000390671s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.001005357s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000907041s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f6579c')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f6579c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000876984s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f6579d')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f6579d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000540067s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f6579c')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.028901286s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f6579c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000510238s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f6579d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000459156s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000406678s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000539106s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f6579e')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f6579e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0006551790000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f6579e')}, "update"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0006241329999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f6579e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00045117s
---------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_affect_all_docs_if_query_is_empty
---------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000381582s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00046112299999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f6579f')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f6579f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00048423s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f6579f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000627995s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog"}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0008554s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000617137s
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000630331s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000723886s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657a0')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657a0'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000809742s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657a0'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0008024579999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657a0')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000507675s
------------------------------------------------------------------------
CoreExtTest: test_bypass_versioning_gives_op_success_in_versioned_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000397636s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0005181610000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657a1')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657a1'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.27775695300000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657a1')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00056502s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657a1')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"updated name", "ema...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000717031s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657a1')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000495302s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00043434500000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000594732s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657a2')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657a2'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0008675s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657a2')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.0006287160000000001s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000456509s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0005708250000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657a3')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657a3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0012259069999999998s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000459636s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000472545s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657a4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00047153099999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657a4')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000396305s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657a4')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005922420000000001s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00032667600000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00042483s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657a5')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657a5'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000577685s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('577e9df41d34c77fe4f657a5')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000682775s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657a5')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00039897500000000003s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0003072s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000426531s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657a6')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657a6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005296400000000001s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00039776700000000004s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657a6')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000339971s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000296023s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00040602300000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657a7')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657a7'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00065947s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"$or"=>[{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657a8')}, {"name"=>"bhargav"}]}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657a8'), "before_create_field"=>1, "after_create_field"=>0, ...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0014766279999999998s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000631133s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000413427s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.008552084s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657a9')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657a9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000519337s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657a9'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005484649999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('577e9df41d34c77fe4f657a9')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"chang...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000444031s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000267156s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00034063800000000004s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657aa'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000346141s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657aa')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000399824s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657aa')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000349712s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00027805900000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000419724s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657ab')}, "update"=>{"$set"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657ab'), "before_create_field"=>0, "after_create_field"=>0, "before_update_field"=>0, "after_update_...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005054749999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657ab')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000444783s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000343754s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000467189s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657ac')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657ac'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000611827s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('577e9df41d34c77fe4f657ac')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000575401s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000288219s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000338405s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000363593s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000430221s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000483638s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657ad'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.0006360809999999999s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000397882s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000319176s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00039835600000000005s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657ae')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657ae'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000399921s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('577e9df41d34c77fe4f657ae')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000476138s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657ae')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000306379s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00024467s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00034022s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657af')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657af'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00041939099999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657b0')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657b0'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000398497s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00025906299999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00029190199999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657b1')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657b1'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000441589s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657b1')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000328209s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000222101s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.018618737s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657b2')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657b2'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000475951s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657b2')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gma...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000386843s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657b2')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000330798s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00026122300000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00032464099999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657b3')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657b3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000435468s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('577e9df41d34c77fe4f657b3')}, "update"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000441336s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657b3')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000276927s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000202014s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000261594s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657b4')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657b4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00035003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657b5')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657b5'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00035028200000000005s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657b4')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577e9df41d34c77fe4f657b6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00028749099999999996s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000211658s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000269196s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000513417s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00036877100000000005s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b08')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b08'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000508939s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('577ea4211d34c70374882b08')}, "update"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000441501s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b08')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00024993600000000003s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00019865300000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000285964s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b09')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b09'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00032788399999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b09')}, "update"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000286993s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b09')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00024813s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000184988s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000281497s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b0a')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b0a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000363176s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b0a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00021233s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000208511s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000320588s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b0b')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b0b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000570088s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('577ea4211d34c70374882b0b')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0007768510000000001s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b0b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00031057599999999996s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00020598800000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000288545s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b0c')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b0c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000352212s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b0c'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000396122s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00017909799999999999s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000244984s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('577ea4211d34c70374882b0d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00026312s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b0d')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000323531s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b0d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00022811s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000206007s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00027797799999999996s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b0e')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b0e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.059851091s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"$or"=>[{"_id"=>BSON::ObjectId('577ea4211d34c70374882b0f')}, {"name"=>"bhargav"}]}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b0f'), "before_create_field"=>1, "after_create_field"=>0, ...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000618135s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000283342s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00021150599999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000320477s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('577ea4211d34c70374882b10'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000350847s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b10')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000281564s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b10')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00035136s
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00023125200000000001s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0003302s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b11')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b11'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005957720000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b12')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b12'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0007094170000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b11')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000394376s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000354002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00043957100000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b13')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b13'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000497079s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00036543999999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b13')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000380229s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000289638s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00041417900000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b14')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b14'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0008630119999999999s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000521929s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00039479799999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b15')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b15'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000488859s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b16')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b16'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000453374s
------------------------------------------------------------------------
CoreExtTest: test_bypass_versioning_gives_op_success_in_versioned_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000339177s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000378698s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b17')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b17'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000434903s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b17')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000338858s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b17')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"updated name", "ema...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000432624s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b17')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00033858900000000003s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000297156s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00037360599999999996s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('577ea4211d34c70374882b18'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000383951s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000255643s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000250375s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000313184s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b19')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b19'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00042324800000000004s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b19')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000314565s
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00024533599999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000289192s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b1a')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b1a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000476084s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b1a'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005881790000000001s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00035260699999999995s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000410795s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b1b')}, "update"=>{"$set"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b1b'), "before_create_field"=>0, "after_create_field"=>0, "before_update_field"=>0, "after_update_...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000711363s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000371702s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000347515s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00032724s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000249835s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000291623s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b1c')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b1c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000466208s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('577ea4211d34c70374882b1c')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000501677s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000271907s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000297532s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b1d')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b1d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00043604900000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b1d')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gma...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00037846500000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b1d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000344519s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000456409s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000408155s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b1e')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b1e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000503347s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b1f')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b1f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000331174s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b1e')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b20'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000279476s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000190821s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000292637s
-----------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_returns_a_mongoid_document
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000238857s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000278899s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b21')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b21'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000355013s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b21')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000293895s
---------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_affect_all_docs_if_query_is_empty
---------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000203409s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000294308s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b22')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b22'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000366881s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b22')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000250553s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog"}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000310679s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000218042s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000257891s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b23')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b23'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000365871s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('577ea4211d34c70374882b23')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000381405s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea4211d34c70374882b23')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000265696s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000862886s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000519879s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb1a')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb1a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000707183s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb1a')}, "update"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000611931s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb1a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.0004166s
------------------------------------------------------------------------
CoreExtTest: test_bypass_versioning_gives_op_success_in_versioned_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000272409s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000486516s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb1b')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb1b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000656694s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb1b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.0005071569999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb1b')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"updated name", "ema...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.023074168s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb1b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00040378100000000003s
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000385996s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000699917s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb1c')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb1c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005743359999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb1d')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb1d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000481728s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb1c')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00042255099999999996s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb1c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000312414s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb1d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000274339s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0002287s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000304259s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb1e')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb1e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000391828s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb1e')}, "update"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000355891s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb1e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000339827s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000384288s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000433239s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000446653s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0003953s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000440278s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb1f')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb1f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000543696s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb1f')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000689795s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb1f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000422918s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000321063s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000408325s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb20')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb20'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005002990000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb21')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb21'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000533512s
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000297698s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00043079399999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb22')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb22'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00043478500000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb22'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00047447s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb22')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000299411s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000263299s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000316873s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb23')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb23'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000463781s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb23'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000513957s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb23')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"chang...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00038104999999999997s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00023789299999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000292259s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb24')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb24'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00035185200000000005s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb24')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000496193s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00036051299999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000518218s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb25')}, "update"=>{"$set"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb25'), "before_create_field"=>0, "after_create_field"=>0, "before_update_field"=>0, "after_update_...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000923771s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb25')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000589648s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000411415s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000425978s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb26'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000393213s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb26')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000530255s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb26')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000371444s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00027737599999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000340508s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb27'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000420085s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000274743s
-----------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_returns_a_mongoid_document
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00026697s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000396513s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb28')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb28'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000451342s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb28')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000453602s
---------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_affect_all_docs_if_query_is_empty
---------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000289628s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00032787399999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb29')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb29'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000461762s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb29')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000366595s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog"}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000476981s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000327576s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000449632s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.007831524s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb2a')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb2a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000850417s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000413049s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000482889s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb2b')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb2b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000516935s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000301824s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb2b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000327977s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000312423s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000365867s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb2c')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb2c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000442781s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb2d')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb2d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000390098s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb2c')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb2e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000391371s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000250975s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000331121s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00021526s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00029614400000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb2f')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb2f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000389216s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb2f')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000506533s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb2f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00028769900000000004s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000233768s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00030378s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb30')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb30'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000387616s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb30')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gma...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000360549s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb30')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000302703s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000290335s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000645141s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb31')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb31'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005101089999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"$or"=>[{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb32')}, {"name"=>"bhargav"}]}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb32'), "before_create_field"=>1, "after_create_field"=>0, ...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0006595759999999999s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000313734s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000200259s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000308424s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb33')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb33'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000442808s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb33')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0004886620000000001s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00024375999999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000368286s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb34'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000337858s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb34')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000278228s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb34')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000380132s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00023995s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000306606s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb35')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb35'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000403187s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5431d34c7040cf4cb35')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000308428s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000819008s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00052363s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdada')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdada'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000728718s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdadb')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdadb'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000419923s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdada')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdadc'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00048623799999999995s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000279269s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000388894s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000329557s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00043774300000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdadd')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdadd'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000718398s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdadd')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gma...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00044545399999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdadd')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000275879s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00021341199999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.04167999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdade')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdade'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000768969s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000313907s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000343339s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdadf')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdadf'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00042059000000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('577ea5a71d34c70479ffdadf')}, "update"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000493349s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdadf')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000303247s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000238729s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000356257s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdae0')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdae0'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00043395200000000004s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdae0')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000270875s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00020655899999999999s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000279402s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdae1')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdae1'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000378444s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdae1')}, "update"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000335837s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdae1')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000248179s
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00020849s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000285286s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdae2')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdae2'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000524928s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdae3')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdae3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000694242s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdae2')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0006035690000000001s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdae2')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000360925s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdae3')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000311566s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00025338899999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000299006s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdae4')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdae4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000339862s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('577ea5a71d34c70479ffdae4')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00042268s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000210875s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00026434600000000005s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdae5'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000268487s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdae5')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000384651s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdae5')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00022767099999999998s
-----------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_returns_a_mongoid_document
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000219409s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000252947s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdae6')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdae6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000335605s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdae6')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000297394s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000231874s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000273846s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdae7'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000308759s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00022966099999999998s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000214672s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000309918s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdae8')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdae8'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000345312s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdae8')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000263242s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00019884299999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000269048s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdae9')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdae9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000323264s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('577ea5a71d34c70479ffdae9')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000455603s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdae9')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000346785s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00042453200000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000498483s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000250782s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000163186s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000352782s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdaea')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdaea'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.027986195s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"$or"=>[{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdaeb')}, {"name"=>"bhargav"}]}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdaeb'), "before_create_field"=>1, "after_create_field"=>0, ...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000756021s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000321352s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00029591999999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000458226s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdaec')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdaec'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005167370000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdaec'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000471721s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('577ea5a71d34c70479ffdaec')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"chang...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00040070199999999996s
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00024400799999999999s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000322134s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdaed')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdaed'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000486629s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdaed'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000469146s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdaed')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000375036s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00035117400000000005s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000541754s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdaee')}, "update"=>{"$set"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdaee'), "before_create_field"=>0, "after_create_field"=>0, "before_update_field"=>0, "after_update_...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00080719s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdaee')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000441239s
------------------------------------------------------------------------
CoreExtTest: test_bypass_versioning_gives_op_success_in_versioned_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000289263s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00040024900000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdaef')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdaef'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00039565900000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdaef')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00025279299999999996s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdaef')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"updated name", "ema...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000310613s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdaef')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000224057s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00019381s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00025729299999999996s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdaf0'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00025800000000000004s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdaf0')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00026553s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdaf0')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00031116200000000003s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000199068s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000246s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdaf1')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdaf1'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000316618s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00019397s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdaf1')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00021533999999999998s
---------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_affect_all_docs_if_query_is_empty
---------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000186782s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00030538099999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdaf2')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdaf2'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000309525s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdaf2')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000257853s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog"}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000318054s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000208433s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000173796s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000243699s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdaf3')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdaf3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000302752s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdaf4')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdaf4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000307437s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000208815s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00024805s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdaf5')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdaf5'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000393485s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('577ea5a71d34c70479ffdaf5')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000625616s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5a71d34c70479ffdaf5')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000429319s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000685845s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000552105s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0ba6')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0ba6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000530582s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('577ea5b81d34c704944d0ba6')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00048086099999999996s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0ba6')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00031847200000000004s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000291404s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000332955s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0ba7')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0ba7'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000400212s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0ba7')}, "update"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00031092500000000004s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0ba7')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000270653s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000190377s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000227213s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0ba8')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0ba8'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005805760000000001s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00033587s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00025951s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0ba9')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0ba9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000350411s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0ba9'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000373757s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('577ea5b81d34c704944d0ba9')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"chang...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000303445s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00020988299999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00026577700000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0baa')}, "update"=>{"$set"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0baa'), "before_create_field"=>0, "after_create_field"=>0, "before_update_field"=>0, "after_update_...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00036536800000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0baa')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000240696s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000177961s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000243967s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bab')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bab'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000356742s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00022783s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bab')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000187195s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00015366999999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000236662s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bac')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bac'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000296383s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('577ea5b81d34c704944d0bac')}, "update"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000417626s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bac')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000364164s
---------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_affect_all_docs_if_query_is_empty
---------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000279111s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000407954s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bad')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bad'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000515108s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bad')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000311547s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog"}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000359449s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00024051200000000002s
------------------------------------------------------------------------
CoreExtTest: test_bypass_versioning_gives_op_success_in_versioned_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000204957s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000264268s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bae')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bae'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000364274s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bae')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000249649s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bae')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"updated name", "ema...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000322054s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bae')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000243397s
-----------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_returns_a_mongoid_document
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000195765s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000384351s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0baf')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0baf'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00043934299999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0baf')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00038660100000000003s
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00032992000000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000381611s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bb0')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bb0'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000468135s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bb0'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00058924s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bb0')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00031595600000000005s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00030479000000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000360861s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bb1')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bb1'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000503271s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('577ea5b81d34c704944d0bb1')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000428073s
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000201056s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000254961s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bb2')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bb2'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000301133s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bb3')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bb3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.029024247s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bb2')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000387896s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bb2')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000283745s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bb3')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00020676199999999998s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00022277s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0006927950000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bb4')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bb4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0004887229999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bb5')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bb5'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00058871s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bb4')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bb6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005505190000000001s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000277974s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000383218s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00029225400000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00031s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bb7')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bb7'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000473701s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bb7')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000326737s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000241239s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000332668s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bb8'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00034358100000000003s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000250527s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000228919s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000300238s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bb9')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bb9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000398321s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bb9')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gma...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00042021s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bb9')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00035786600000000003s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000245681s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00030066600000000005s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bba')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bba'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000428001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bbb')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bbb'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000690863s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000449541s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00040494799999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bbc')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bbc'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000488569s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('577ea5b81d34c704944d0bbc')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000511177s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bbc')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000302946s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00025468s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000351269s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000337282s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000261094s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00035166799999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bbd')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bbd'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000555621s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bbd')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000672167s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000557395s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000373556s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bbe'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000387486s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bbe')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000409421s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bbe')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000494003s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00033329199999999995s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000388255s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bbf'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00033442000000000004s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bbf')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00039397799999999996s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bbf')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000355381s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000258278s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00033395399999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bc0')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bc0'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000538788s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"$or"=>[{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bc1')}, {"name"=>"bhargav"}]}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea5b81d34c704944d0bc1'), "before_create_field"=>1, "after_create_field"=>0, ...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00060023s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000327167s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0005791430000000001s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000337982s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea60b1d34c704afbefc63')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea60b1d34c704afbefc63'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000465035s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea60b1d34c704afbefc63')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000324586s
---------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_affect_all_docs_if_query_is_empty
---------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000256865s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00031148199999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea60b1d34c704afbefc64')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea60b1d34c704afbefc64'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000303477s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea60b1d34c704afbefc64')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00024131699999999998s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog"}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000302666s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000181325s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000189359s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000220775s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea60b1d34c704afbefc65')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea60b1d34c704afbefc65'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000281119s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000205061s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea60b1d34c704afbefc65')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000174869s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000167123s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00023984900000000001s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00025672s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00023213499999999999s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00026692800000000004s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('577ea60b1d34c704afbefc66'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00023687600000000001s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000150825s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000161559s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00023197s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea60b1d34c704afbefc67')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea60b1d34c704afbefc67'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000299035s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea60b1d34c704afbefc67')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gma...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00027287s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea60b1d34c704afbefc67')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000223767s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000170748s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00022002300000000002s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea60b1d34c704afbefc68')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea60b1d34c704afbefc68'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00029824699999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea60b1d34c704afbefc69')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea60b1d34c704afbefc69'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000294014s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea60b1d34c704afbefc68')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea60b1d34c704afbefc6a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00031648099999999997s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000161581s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000203995s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000156909s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00025398500000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea60b1d34c704afbefc6b')}, "update"=>{"$set"=>{"_id"=>BSON::ObjectId('577ea60b1d34c704afbefc6b'), "before_create_field"=>0, "after_create_field"=>0, "before_update_field"=>0, "after_update_...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00028824300000000004s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea60b1d34c704afbefc6b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000224995s
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000162252s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000211969s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea60b1d34c704afbefc6c')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea60b1d34c704afbefc6c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000301705s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea60b1d34c704afbefc6d')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea60b1d34c704afbefc6d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00028053599999999996s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea60b1d34c704afbefc6c')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00026416s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea60b1d34c704afbefc6c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00020117s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea60b1d34c704afbefc6d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000323727s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000348539s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000391849s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea60c1d34c704afbefc6e')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea60c1d34c704afbefc6e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0006837509999999999s
------------------------------------------------------------------------
CoreExtTest: test_bypass_versioning_gives_op_success_in_versioned_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00034891999999999996s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000360465s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea60c1d34c704afbefc6f')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea60c1d34c704afbefc6f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000474585s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea60c1d34c704afbefc6f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00033182s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea60c1d34c704afbefc6f')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"updated name", "ema...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000437454s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea60c1d34c704afbefc6f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00033952799999999997s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000279059s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.07999842400000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea60c1d34c704afbefc70')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea60c1d34c704afbefc70'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0007440470000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('577ea60c1d34c704afbefc70')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00087371s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00045533s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000586933s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('577ea60c1d34c704afbefc71'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000543317s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('577ea60c1d34c704afbefc71')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0007796099999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea60c1d34c704afbefc71')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.0006602649999999999s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00040142s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00047978399999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea60c1d34c704afbefc72')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea60c1d34c704afbefc72'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000553409s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('577ea60c1d34c704afbefc72')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00063197s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea60c1d34c704afbefc72')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000497011s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000352836s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00042278700000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea60c1d34c704afbefc73')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea60c1d34c704afbefc73'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000643487s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"$or"=>[{"_id"=>BSON::ObjectId('577ea60c1d34c704afbefc74')}, {"name"=>"bhargav"}]}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea60c1d34c704afbefc74'), "before_create_field"=>1, "after_create_field"=>0, ...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000801083s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000386946s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000275658s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000373535s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea60c1d34c704afbefc75')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea60c1d34c704afbefc75'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00045166499999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea60c1d34c704afbefc75')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000367167s
-----------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_returns_a_mongoid_document
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000261247s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00034227600000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea60c1d34c704afbefc76')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea60c1d34c704afbefc76'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000443314s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea60c1d34c704afbefc76')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000393639s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000325203s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00039878300000000005s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea60c1d34c704afbefc77')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea60c1d34c704afbefc77'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000397904s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea60c1d34c704afbefc77'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000449913s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('577ea60c1d34c704afbefc77')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"chang...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000374459s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00023103000000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00030253s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea60c1d34c704afbefc78')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea60c1d34c704afbefc78'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000390576s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea60c1d34c704afbefc78')}, "update"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000347505s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea60c1d34c704afbefc78')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000308184s
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000269308s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00036759s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea60c1d34c704afbefc79')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea60c1d34c704afbefc79'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000580557s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea60c1d34c704afbefc79'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000727469s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea60c1d34c704afbefc79')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000472469s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000449274s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000418602s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('577ea60c1d34c704afbefc7a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000408465s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea60c1d34c704afbefc7a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00044472399999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('577ea60c1d34c704afbefc7a')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000588351s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000407782s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00044124599999999996s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea60c1d34c704afbefc7b')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea60c1d34c704afbefc7b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000637669s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea60c1d34c704afbefc7c')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea60c1d34c704afbefc7c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000579917s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000318476s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000496714s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea60c1d34c704afbefc7d')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea60c1d34c704afbefc7d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005330150000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('577ea60c1d34c704afbefc7d')}, "update"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005983739999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea60c1d34c704afbefc7d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000372079s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000305045s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000390627s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea60c1d34c704afbefc7e')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea60c1d34c704afbefc7e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000618632s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('577ea60c1d34c704afbefc7e')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.019599797999999998s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea60c1d34c704afbefc7e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000409139s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000740031s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00037656399999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f15')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f15'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000529882s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000274376s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f15')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000321861s
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00029083399999999996s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00034718300000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f16')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f16'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00032958s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f16'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00041628099999999995s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f16')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00025386699999999996s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00024207s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000252381s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f17')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f17'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00037744s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"$or"=>[{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f18')}, {"name"=>"bhargav"}]}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f18'), "before_create_field"=>1, "after_create_field"=>0, ...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00045389700000000004s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000266107s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000272266s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00037919s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f19')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f19'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000486431s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f1a')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f1a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000479373s
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000223777s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000300309s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f1b')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f1b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000366382s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f1c')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f1c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00038076399999999996s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f1b')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000320984s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f1b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00022087099999999998s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f1c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000228445s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000234023s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000313633s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f1d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000261605s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f1d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00026196600000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f1d')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000287348s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00016049s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00021840599999999998s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f1e')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f1e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000280492s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f1e')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00035478800000000003s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00016675700000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000246506s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f1f')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f1f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00028919s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f1f')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000326697s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f1f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000218727s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000192928s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000215946s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f20')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f20'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000784957s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00029032s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000299334s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000331855s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00030891299999999996s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00041001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f21')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f21'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.006019384s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f21')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000393884s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000217455s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00027999000000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f22')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f22'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000447887s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f22')}, "update"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00035007900000000005s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f22')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000254093s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000226635s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000277177s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f23')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f23'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000364353s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f23')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000251321s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000204799s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00030391799999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f24')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f24'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000360569s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f24')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gma...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00033634800000000004s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f24')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000296314s
------------------------------------------------------------------------
CoreExtTest: test_bypass_versioning_gives_op_success_in_versioned_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000206165s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000269577s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f25')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f25'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000398842s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f25')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000230928s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f25')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"updated name", "ema...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000349901s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f25')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00019481499999999998s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000184741s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00032334199999999995s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f26')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f26'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00047151500000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f26'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000771888s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f26')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"chang...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000516563s
---------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_affect_all_docs_if_query_is_empty
---------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000239774s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000277142s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f27')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f27'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000345289s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f27')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00023085300000000002s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog"}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000316165s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000198979s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000186248s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000258269s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f28')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f28'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00033382700000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f28')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000446542s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f28')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000246336s
-----------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_returns_a_mongoid_document
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00018298499999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00025383599999999996s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f29')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f29'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000316319s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f29')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000324156s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000183273s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00029814999999999996s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f2a')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f2a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000331977s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f2a')}, "update"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000370885s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f2a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00024167999999999998s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000203514s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000261802s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f2b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00024344900000000002s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f2b')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000325731s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f2b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000234719s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000199055s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000237798s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f2c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00025925s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000201172s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000243737s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000326078s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f2d')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f2d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00043655900000000005s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f2e')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f2e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000540019s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f2d')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f2f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00045855399999999996s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00025393899999999996s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000267425s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000157596s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00022839800000000002s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f30')}, "update"=>{"$set"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f30'), "before_create_field"=>0, "after_create_field"=>0, "before_update_field"=>0, "after_update_...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00029444700000000004s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('577ea6211d34c704e2ae4f30')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00020925700000000002s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
-----------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_returns_a_mongoid_document
-----------------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00100253s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0006608849999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579932a8421aa92ce2a9c682')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579932a8421aa92ce2a9c682'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000678104s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579932a8421aa92ce2a9c682')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000588151s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00038048s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000439289s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579932a8421aa92ce2a9c683')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579932a8421aa92ce2a9c683'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0006956849999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"$or"=>[{"_id"=>BSON::ObjectId('579932a8421aa92ce2a9c684')}, {"name"=>"bhargav"}]}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579932a8421aa92ce2a9c684'), "before_create_field"=>1, "after_create_field"=>0, ...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000699235s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00036367699999999997s
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00022275799999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000355381s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579932a8421aa92ce2a9c685')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579932a8421aa92ce2a9c685'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00048436700000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579932a8421aa92ce2a9c685'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000477003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579932a8421aa92ce2a9c685')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000321879s
---------------------------------------------------------------
CoreExtTest: test_versioned_create_when_document_already_exists
---------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000271916s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000384469s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579932a8421aa92ce2a9c686')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579932a8421aa92ce2a9c686'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.016073563s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"email"=>"bhargav.r.raut@gmail.com"}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579932a8421aa92ce2a9c687'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0007429279999999999s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000474704s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000427539s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579932a8421aa92ce2a9c688')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579932a8421aa92ce2a9c688'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005282609999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579932a8421aa92ce2a9c689')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579932a8421aa92ce2a9c689'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000407848s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579932a8421aa92ce2a9c688')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579932a8421aa92ce2a9c68a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00036241400000000003s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000288037s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000309358s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00024865099999999996s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000333452s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579932a8421aa92ce2a9c68b')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579932a8421aa92ce2a9c68b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000418883s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579932a8421aa92ce2a9c68b')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gma...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000359172s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579932a8421aa92ce2a9c68b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000301634s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00031106s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000564879s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579932a8421aa92ce2a9c68c')}, "update"=>{"$set"=>{"_id"=>BSON::ObjectId('579932a8421aa92ce2a9c68c'), "before_create_field"=>0, "after_create_field"=>0, "before_update_field"=>0, "after_update_...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000497958s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579932a8421aa92ce2a9c68c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000444417s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000235194s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00031612199999999995s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c68d')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c68d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.001352429s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000472517s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.006805614000000001s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c68e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000618217s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0005100640000000001s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000478331s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000725124s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c68f')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c68f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0006538890000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('579932a9421aa92ce2a9c68f')}, "update"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0007213100000000001s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c68f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000456878s
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00039350400000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000546333s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c690')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c690'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000698073s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c691')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c691'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0007848s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c690')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000686202s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c690')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00042627400000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c691')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00031060999999999996s
---------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_affect_all_docs_if_query_is_empty
---------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00029801400000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000387989s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c692')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c692'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000473293s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c692')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000320379s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog"}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000371805s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000238781s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00023096s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00030878700000000004s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c693'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000313889s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c693')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000412336s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c693')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00038878s
------------------------------------------------------------------------
CoreExtTest: test_bypass_versioning_gives_op_success_in_versioned_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000352451s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000433943s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c694')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c694'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000541887s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c694')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00034142s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c694')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"updated name", "ema...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000461425s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c694')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000335896s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000284647s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00039343699999999995s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c695')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c695'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000659419s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('579932a9421aa92ce2a9c695')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0008587989999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c695')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000457414s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000391626s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00038562000000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c696')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c696'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000450948s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c697')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c697'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005206519999999999s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000287194s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00036212s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c698'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000407304s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c698')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000260407s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c698')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000322396s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000233403s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00030608699999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c699')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c699'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00041934s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('579932a9421aa92ce2a9c699')}, "update"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000498653s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c699')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000304423s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000203638s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000264078s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c69a')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c69a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000409367s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c69a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000317039s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00024179199999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000322413s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000393233s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000311976s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000398404s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c69b')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c69b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000564435s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c69b'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000673548s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('579932a9421aa92ce2a9c69b')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"chang...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0006488069999999999s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000366547s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00043028099999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c69c')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c69c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00045241300000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c69c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000409095s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000464944s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000434773s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c69d')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c69d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000549606s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c69d')}, "update"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000445737s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c69d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000302882s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000262542s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00038578600000000005s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c69e')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c69e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000398626s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('579932a9421aa92ce2a9c69e')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005841210000000001s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00033287299999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000837906s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c69f')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c69f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005085220000000001s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000397054s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579932a9421aa92ce2a9c69f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000453835s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000623263s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00043213599999999996s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('57993801421aa92de0953593'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00042936000000000005s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000387165s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00030329799999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000464654s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57993801421aa92de0953594')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993801421aa92de0953594'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005282570000000001s
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00030312s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000284784s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57993801421aa92de0953595')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993801421aa92de0953595'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000360945s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000212981s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000258817s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57993801421aa92de0953596')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993801421aa92de0953596'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000357238s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000162083s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000277808s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('57993801421aa92de0953597'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00035933s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57993801421aa92de0953597')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000548145s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57993801421aa92de0953597')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000464491s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000325833s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00041814900000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57993801421aa92de0953598')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993801421aa92de0953598'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0007389s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000303028s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000348997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57993801421aa92de0953599')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993801421aa92de0953599'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00047788400000000003s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000251597s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000379416s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57993801421aa92de095359a')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993801421aa92de095359a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0004197s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00025330000000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00036396s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57993801421aa92de095359b')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993801421aa92de095359b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000601451s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00047190700000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00048703s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57993801421aa92de095359c')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993801421aa92de095359c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000492868s
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000254689s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00029293699999999995s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57993801421aa92de095359d')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993801421aa92de095359d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00036279s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00020312000000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000303769s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57993801421aa92de095359e')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993801421aa92de095359e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000360064s
------------------------------------------------------------------------
CoreExtTest: test_bypass_versioning_gives_op_success_in_versioned_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000225076s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000274344s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57993801421aa92de095359f')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993801421aa92de095359f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00037294899999999997s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000249462s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.036940340999999995s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57993801421aa92de09535a0')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993801421aa92de09535a0'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0010444260000000002s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000532385s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0005302270000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57993801421aa92de09535a1')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993801421aa92de09535a1'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000715624s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000351279s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000651359s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57993801421aa92de09535a2')}, "update"=>{"$set"=>{"_id"=>BSON::ObjectId('57993801421aa92de09535a2'), "before_create_field"=>0, "after_create_field"=>0, "before_update_field"=>0, "after_update_...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0009521730000000001s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57993801421aa92de09535a2')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.0006583159999999999s
-----------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_returns_a_mongoid_document
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000660541s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00051342s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57993801421aa92de09535a3')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993801421aa92de09535a3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0006308209999999999s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000385522s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000449938s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57993801421aa92de09535a4')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993801421aa92de09535a4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0006383280000000001s
---------------------------------------------------------------
CoreExtTest: test_versioned_create_when_document_already_exists
---------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000406082s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000381657s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57993801421aa92de09535a5')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993801421aa92de09535a5'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000547924s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00032286500000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000422354s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57993801421aa92de09535a6')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993801421aa92de09535a6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005789829999999999s
---------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_affect_all_docs_if_query_is_empty
---------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000278132s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0005590510000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57993801421aa92de09535a7')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993801421aa92de09535a7'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000510213s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000293844s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000339922s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00045599599999999996s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000331746s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000393243s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57993801421aa92de09535a8')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993801421aa92de09535a8'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000537719s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000276711s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000354974s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57993801421aa92de09535a9')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993801421aa92de09535a9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000456576s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000288692s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000332566s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('57993801421aa92de09535aa'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000457814s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57993801421aa92de09535aa')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000332768s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57993801421aa92de09535aa')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00047283899999999996s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000699301s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000430359s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938b5421aa92e33aef304')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579938b5421aa92e33aef304'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000528183s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000236864s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00032424499999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938b5421aa92e33aef305')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579938b5421aa92e33aef305'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00039719699999999996s
------------------------------------------------------------------------
CoreExtTest: test_bypass_versioning_gives_op_success_in_versioned_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000212134s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000262086s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938b5421aa92e33aef306')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579938b5421aa92e33aef306'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000367632s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000218578s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00026516s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938b5421aa92e33aef307')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579938b5421aa92e33aef307'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000367294s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000206791s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000260807s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938b5421aa92e33aef308')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579938b5421aa92e33aef308'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000378236s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00021440199999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000283163s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000399086s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0002537s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000364072s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938b5421aa92e33aef309')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579938b5421aa92e33aef309'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000494058s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00031816600000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000342587s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938b5421aa92e33aef30a')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579938b5421aa92e33aef30a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000451927s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00033056800000000005s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000332778s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938b5421aa92e33aef30b')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579938b5421aa92e33aef30b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00045419s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000288113s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00030547699999999996s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('579938b5421aa92e33aef30c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000329447s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('579938b5421aa92e33aef30c')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000402872s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579938b5421aa92e33aef30c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000315326s
---------------------------------------------------------------
CoreExtTest: test_versioned_create_when_document_already_exists
---------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000281002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000312664s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938b5421aa92e33aef30d')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579938b5421aa92e33aef30d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00046831499999999996s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00058293s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000373581s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('579938b5421aa92e33aef30e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000383884s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579938b5421aa92e33aef30e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000528204s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('579938b5421aa92e33aef30e')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.039301265s
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00033622999999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000433657s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938b5421aa92e33aef30f')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579938b5421aa92e33aef30f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005261819999999999s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000296807s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000373444s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938b5421aa92e33aef310')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579938b5421aa92e33aef310'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000470983s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000260348s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000359933s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938b5421aa92e33aef311')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579938b5421aa92e33aef311'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000455803s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00025401300000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000358245s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938b5421aa92e33aef312')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579938b5421aa92e33aef312'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000474178s
---------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_affect_all_docs_if_query_is_empty
---------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000254664s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000346193s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938b5421aa92e33aef313')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579938b5421aa92e33aef313'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000460643s
-----------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_returns_a_mongoid_document
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000257815s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000353799s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938b5421aa92e33aef314')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579938b5421aa92e33aef314'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00044953s
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00024590100000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000312524s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938b5421aa92e33aef315')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579938b5421aa92e33aef315'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000634446s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000284721s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000589758s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938b5421aa92e33aef316')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579938b5421aa92e33aef316'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000628007s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00033278999999999996s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000352352s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938b5421aa92e33aef317')}, "update"=>{"$set"=>{"_id"=>BSON::ObjectId('579938b5421aa92e33aef317'), "before_create_field"=>0, "after_create_field"=>0, "before_update_field"=>0, "after_update_...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00041386200000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579938b5421aa92e33aef317')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000300677s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000202436s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000348391s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938b5421aa92e33aef318')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579938b5421aa92e33aef318'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000697617s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000200532s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000340397s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('579938b5421aa92e33aef319'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000460663s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000297742s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000333521s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00038569200000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938b5421aa92e33aef31a')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579938b5421aa92e33aef31a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000432355s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000207628s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000280267s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938b5421aa92e33aef31b')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579938b5421aa92e33aef31b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000357398s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000611524s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000369192s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cada6')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cada6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005223609999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cada7')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cada7'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000396566s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cada6')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cada8'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000330804s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000237434s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000305971s
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000192144s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000292985s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cada9')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cada9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000346479s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadaa')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadaa'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00026484s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cada9')}, "update"=>{"$set"=>{"name"=>"roxanne", "ts"=>1469659381}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000279743s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cada9')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000342187s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadaa')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00029320400000000003s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00029460799999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000442127s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadab')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadab'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00043186499999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"$or"=>[{"_id"=>BSON::ObjectId('579938f5421aa92e615cadac')}, {"name"=>"bhargav"}]}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadac'), "before_create_field"=>1, "after_create_field"=>0, ...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000468816s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000246696s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000175253s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000249845s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadad')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadad'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000310278s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('579938f5421aa92e615cadad')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000373165s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadad')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000234407s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000178016s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00021891s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadae')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadae'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000312327s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('579938f5421aa92e615cadae')}, "update"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed", "ts"=>1469659381}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00033199300000000005s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadae')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00021948400000000001s
---------------------------------------------------------------
CoreExtTest: test_versioned_create_when_document_already_exists
---------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000186477s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000223569s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadaf')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadaf'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000306793s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"email"=>"bhargav.r.raut@gmail.com"}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadb0'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00034522299999999997s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000173012s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000221139s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('579938f5421aa92e615cadb1'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000238995s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00018511099999999998s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000142478s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000207348s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadb2')}, "update"=>{"$set"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadb2'), "before_create_field"=>0, "after_create_field"=>0, "before_update_field"=>0, "after_update_...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000295475s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadb2')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000217004s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00015240500000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000210543s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('579938f5421aa92e615cadb3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000219724s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadb3')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000191468s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadb3')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000260202s
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000177175s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00023041s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadb4')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadb4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000587373s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadb4'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com", "ts"=>1469659381}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000978205s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadb4')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00041470900000000003s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000347059s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00037296300000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadb5')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadb5'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000421234s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadb5')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gma...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00039388700000000005s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000231429s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000306229s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadb6')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadb6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00040284s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadb6'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com", "ts"=>1469659381}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005041469999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('579938f5421aa92e615cadb6')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"chang...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000389185s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000220934s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00032306800000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadb7')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadb7'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.152319123s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000573431s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0006397579999999999s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0005776949999999999s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000459752s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0005302880000000001s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('579938f5421aa92e615cadb8'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000560273s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadb8')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000555039s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadb8')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000439684s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00033847500000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0004939850000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadb9')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadb9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000631266s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadba')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadba'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000630976s
------------------------------------------------------------------------
CoreExtTest: test_bypass_versioning_gives_op_success_in_versioned_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00035287000000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0005290379999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadbb')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadbb'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005374959999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadbb')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000388478s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadbb')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"updated name", "ema...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000478347s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadbb')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000621371s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000440964s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000574657s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadbc')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadbc'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0007751559999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadbc')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000428676s
---------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_affect_all_docs_if_query_is_empty
---------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000306937s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0005080460000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadbd')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadbd'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005363799999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadbd')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000353101s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog", "ts"=>1469659381}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005434200000000001s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000287823s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000274362s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000438197s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadbe')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadbe'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000518758s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000300705s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadbe')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00036409699999999997s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000299465s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000453551s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadbf')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadbf'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000549493s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadbf')}, "update"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed", "ts"=>1469659381}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000425215s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000262483s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000441051s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadc0')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadc0'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005226600000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('579938f5421aa92e615cadc0')}, "update"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000557221s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000351837s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.044158181s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadc1')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadc1'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000867054s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"version"=>1, "_id"=>BSON::ObjectId('579938f5421aa92e615cadc1')}, "update"=>{"$set"=>{"email"=>"c@gmail.com", "ts"=>1469659381}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000855913s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadc1')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000606511s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000501782s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000618434s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadc2')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadc2'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000787793s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadc2')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000485119s
-----------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_returns_a_mongoid_document
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00042069700000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000540551s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadc3')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadc3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000710197s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579938f5421aa92e615cadc3')}, "update"=>{"$set"=>{"name"=>"roxanne", "ts"=>1469659381}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000694803s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
---------------------------------------------------------------
CoreExtTest: test_versioned_create_when_document_already_exists
---------------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0019885140000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000881263s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579939cd421aa92e9bb1f2cc')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579939cd421aa92e9bb1f2cc'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005278170000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"email"=>"bhargav.r.raut@gmail.com"}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579939cd421aa92e9bb1f2cd'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000466599s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
---------------------------------------------------------------
CoreExtTest: test_versioned_create_when_document_already_exists
---------------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00049135s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00037146600000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579939fa421aa92ebe5cb300')}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579939fa421aa92ebe5cb300'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005819309999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"email"=>"bhargav.r.raut@gmail.com"}, "update"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579939fa421aa92ebe5cb301'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00033225999999999997s
---------------------------------------------------------------
CoreExtTest: test_versioned_create_when_document_already_exists
---------------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000777865s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0005480239999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57993c18421aa92f29f697ca')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993c18421aa92f29f697ca'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00055595s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
---------------------------------------------------------------
CoreExtTest: test_versioned_create_when_document_already_exists
---------------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00087407s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000527416s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57993c62421aa92f66004d23')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993c62421aa92f66004d23'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000611395s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
---------------------------------------------------------------
CoreExtTest: test_versioned_create_when_document_already_exists
---------------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000491125s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.001361073s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57993c7c421aa92f7c434c03')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993c7c421aa92f7c434c03'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000490673s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"bhargav.r.raut@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993c7c421aa92f7c434c04'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000293314s
---------------------------------------------------------------
CoreExtTest: test_versioned_create_when_document_already_exists
---------------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0007175829999999999s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000346262s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57993cee421aa92fa3b53e95')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993cee421aa92fa3b53e95'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00042402600000000004s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"bhargav.r.raut@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993cee421aa92fa3b53e96'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000355491s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
---------------------------------------------------------------
CoreExtTest: test_versioned_create_when_document_already_exists
---------------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000653248s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00035217s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57993dee421aa92fdee77521')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993dee421aa92fdee77521'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000682711s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"bhargav.r.raut@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993dee421aa92fdee77522'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000428502s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
---------------------------------------------------------------
CoreExtTest: test_versioned_create_when_document_already_exists
---------------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000588271s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000546045s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57993e15421aa92ffc254fe9')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993e15421aa92ffc254fe9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000568492s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"bhargav.r.raut@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993e15421aa92ffc254fea'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0006198639999999999s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
---------------------------------------------------------------
CoreExtTest: test_versioned_create_when_document_already_exists
---------------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000640027s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000474512s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57993e36421aa93018c75bee')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993e36421aa93018c75bee'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005385289999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"bhargav.r.raut@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993e36421aa93018c75bef'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000371661s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
---------------------------------------------------------------
CoreExtTest: test_versioned_create_when_document_already_exists
---------------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000909909s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000415595s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57993e6d421aa93040a8b0d3')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993e6d421aa93040a8b0d3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000567473s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"bhargav.r.raut@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993e6d421aa93040a8b0d4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000352396s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
---------------------------------------------------------------
CoreExtTest: test_versioned_create_when_document_already_exists
---------------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0006766820000000001s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0008668520000000001s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57993ebc421aa930787a2f21')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993ebc421aa930787a2f21'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.092752902s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"bhargav.r.raut@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993ebc421aa930787a2f22'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005624s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
-----------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_returns_a_mongoid_document
-----------------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000509942s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00037544900000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8fdd')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8fdd'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000747005s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8fdd')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005334379999999999s
---------------------------------------------------------------
CoreExtTest: test_versioned_create_when_document_already_exists
---------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000211458s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000284477s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8fde')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8fde'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000302002s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"bhargav.r.raut@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8fdf'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000277117s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00016779s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000218127s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8fe0')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8fe0'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000303753s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8fe0')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000237373s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000160869s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00023394s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8fe1')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8fe1'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000297344s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('57993fb7421aa930f5ed8fe1')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000373028s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00021125799999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000372229s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8fe2')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8fe2'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000311571s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8fe2')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00021182000000000001s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000161977s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000233902s
---------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_affect_all_docs_if_query_is_empty
---------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000332749s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00033625800000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8fe3')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8fe3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000599597s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8fe3')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000301754s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog"}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000428114s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000182478s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00014833699999999999s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000217085s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8fe4')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8fe4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00029453000000000004s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8fe5')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8fe5'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000311343s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000169379s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000214399s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8fe6')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8fe6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000270057s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8fe6'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00035386799999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('57993fb7421aa930f5ed8fe6')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"changed_...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000300711s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000164889s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000220838s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8fe7'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000234013s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8fe7')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000269686s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8fe7')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000249025s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000186638s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000236824s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8fe8')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8fe8'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00030380999999999995s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8fe8')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail....
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000265821s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000158238s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00020638200000000002s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8fe9')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8fe9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00026587700000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"$or"=>[{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8fea')}, {"name"=>"bhargav"}]}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8fea'), "before_create_field"=>1, "after_create_field"=>0, "be...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00045698s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000260868s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000202292s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000334149s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8feb')}, "update"=>{"$set"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8feb'), "before_create_field"=>0, "after_create_field"=>0, "before_update_field"=>0, "after_update_...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.031361572s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8feb')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000389082s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000302519s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000366776s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8fec'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00040673200000000004s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000381247s
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000405748s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000488691s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8fed')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8fed'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0006816s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8fed'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000629633s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8fed')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000271622s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000312408s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000373089s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8fee')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8fee'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005310629999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('57993fb7421aa930f5ed8fee')}, "u"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000516652s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000289979s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000361894s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8fef')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8fef'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000460597s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00029239800000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8fef')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00032497799999999996s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000306539s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000394792s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8ff0')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8ff0'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000536s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8ff0')}, "u"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000396072s
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00028294100000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000307782s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8ff1')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8ff1'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000526103s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8ff2')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8ff2'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000433243s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8ff1')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00044104699999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8ff1')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000294463s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8ff2')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00036854600000000003s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000335886s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000440619s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8ff3')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8ff3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000641201s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00027598799999999996s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000311162s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8ff4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000346443s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8ff4')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000299233s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8ff4')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00035312099999999997s
------------------------------------------------------------------------
CoreExtTest: test_bypass_versioning_gives_op_success_in_versioned_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00021922100000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000258227s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8ff5')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8ff5'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00041007099999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8ff5')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000370424s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8ff5')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"updated name", "email"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000471925s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00046454900000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00043923s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8ff6')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8ff6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00043017800000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('57993fb7421aa930f5ed8ff6')}, "u"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000380314s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000185115s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000285794s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8ff7')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8ff7'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000305073s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8ff8')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8ff8'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000297967s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8ff7')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8ff9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000251386s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000175333s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000255695s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00018550900000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000220108s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8ffa')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57993fb7421aa930f5ed8ffa'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00033154100000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('57993fb7421aa930f5ed8ffa')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00040414199999999997s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.001110308s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0005538s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b4f')}, "update"=>{"$set"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b4f'), "before_create_field"=>0, "after_create_field"=>0, "before_update_field"=>0, "after_update_...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000710396s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b4f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000514928s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000431143s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000441963s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b50')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b50'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000706128s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5799401d421aa9313a660b50')}, "u"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000592101s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b50')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000555615s
-----------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_returns_a_mongoid_document
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000541674s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000652412s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b51')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b51'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005071079999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b51')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00045277599999999995s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000363744s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000372262s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('5799401d421aa9313a660b52'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00034693800000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b52')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000301729s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b52')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000387553s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00029514499999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00039364600000000005s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('5799401d421aa9313a660b53'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000419568s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00028612s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000268654s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00038773400000000004s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b54')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b54'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000448792s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b54')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000346794s
---------------------------------------------------------------
CoreExtTest: test_versioned_create_when_document_already_exists
---------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000274042s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000355196s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b55')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b55'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00045183699999999996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"bhargav.r.raut@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b56'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000437011s
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000301951s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000326041s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b57')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b57'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000522626s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b58')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b58'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005995390000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b57')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0006614679999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b57')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000439994s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b58')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00035601000000000003s
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000242367s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000320418s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b59')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b59'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000340001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b59'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000443751s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b59')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00029414s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000176478s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000391489s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b5a')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b5a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00045082900000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b5a')}, "u"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00036851s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b5a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00032287500000000003s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00023641500000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00034657199999999996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b5b')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b5b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000432781s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5799401d421aa9313a660b5b')}, "u"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000607534s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b5b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000297803s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000267765s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000337242s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b5c')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b5c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000349018s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b5c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00031427699999999996s
---------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_affect_all_docs_if_query_is_empty
---------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000232911s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000338321s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b5d')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b5d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000446495s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b5d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000355294s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog"}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.018426888000000002s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000346973s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00032506699999999996s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000397694s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00033675700000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000283133s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b5e')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b5e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00060626s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5799401d421aa9313a660b5e')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0011680220000000001s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b5e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000505995s
------------------------------------------------------------------------
CoreExtTest: test_bypass_versioning_gives_op_success_in_versioned_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000305387s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000354964s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b5f')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b5f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00040179200000000005s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b5f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000345887s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b5f')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"updated name", "email"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000478306s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b5f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000475761s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000347958s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000412994s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b60')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b60'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00047164500000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"$or"=>[{"_id"=>BSON::ObjectId('5799401d421aa9313a660b61')}, {"name"=>"bhargav"}]}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b61'), "before_create_field"=>1, "after_create_field"=>0, "be...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0007320289999999999s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000420819s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00028357500000000005s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000450889s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b62')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b62'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000404116s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b62'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005210169999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5799401d421aa9313a660b62')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"changed_...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00048554699999999996s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00021700000000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000321875s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b63')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b63'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000556601s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b63')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail....
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000447302s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b63')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000272985s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000510375s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000591294s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b64')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b64'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000475935s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5799401d421aa9313a660b64')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005789030000000001s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b64')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000301449s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000289781s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000339798s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('5799401d421aa9313a660b65'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000453089s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b65')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000422756s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b65')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000298414s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00022297s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00033459s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b66')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b66'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000418327s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b67')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b67'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00038102000000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b66')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b68'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000353964s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000238189s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00028368s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000232838s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000302736s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b69')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b69'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00037363s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b6a')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b6a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000366418s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000342888s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0008418459999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b6b')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b6b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.001056614s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00047597199999999996s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b6b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000432493s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000273586s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000428822s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b6c')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5799401d421aa9313a660b6c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.108948208s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000579036s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00036794299999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab04')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab04'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000722005s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab04')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000553282s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000383377s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000317089s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab05')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab05'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000785257s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000404268s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000440806s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('57994029421aa931546aab06'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00037660000000000005s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab06')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00044283s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab06')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000501692s
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000288744s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00033848s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab07')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab07'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000464241s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab07'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000506146s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab07')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000515518s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000614134s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0006442710000000001s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab08')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab08'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.061456026999999996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('57994029421aa931546aab08')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000719559s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab08')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00037s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000325376s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000398461s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('57994029421aa931546aab09'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000444398s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000298894s
------------------------------------------------------------------------
CoreExtTest: test_bypass_versioning_gives_op_success_in_versioned_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000277485s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000380464s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab0a')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab0a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000848206s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab0a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000471871s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab0a')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"updated name", "email"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005538559999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab0a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000402298s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000335712s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000460099s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab0b')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab0b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000607598s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab0b')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail....
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000396708s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab0b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00043186900000000004s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00036239299999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0005739370000000001s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab0c')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab0c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000839337s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab0c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.0005040989999999999s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00035331399999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000470404s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab0d')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab0d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000560637s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('57994029421aa931546aab0d')}, "u"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005450709999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab0d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000359172s
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000335464s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000388109s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab0e')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab0e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000462518s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab0f')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab0f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000479s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab0e')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00041571s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab0e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000344s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab0f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00028834s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000268811s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00031721799999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab10')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab10'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000404093s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00027502099999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab10')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00029088400000000004s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00025188099999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000333429s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab11')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab11'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00045560699999999996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"$or"=>[{"_id"=>BSON::ObjectId('57994029421aa931546aab12')}, {"name"=>"bhargav"}]}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab12'), "before_create_field"=>1, "after_create_field"=>0, "be...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00072094s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00039930499999999997s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000350245s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0006676560000000001s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab13')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab13'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000643202s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab13')}, "u"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00060551s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab13')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00038007s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000297134s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00043814s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab14')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab14'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000494099s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab15')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab15'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000475023s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00029750100000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00037961500000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab16')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab16'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00046543400000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab16'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000664685s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('57994029421aa931546aab16')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"changed_...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000459786s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000321531s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000326463s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab17')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab17'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00039441499999999996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab18')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab18'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00037707400000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab17')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab19'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00037484599999999997s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000277598s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000360986s
---------------------------------------------------------------
CoreExtTest: test_versioned_create_when_document_already_exists
---------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00024625199999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00033867500000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab1a')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab1a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005366840000000001s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"bhargav.r.raut@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab1b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0006341350000000001s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.001018446s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.006539919s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab1c')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab1c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00043328299999999996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('57994029421aa931546aab1c')}, "u"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00043416099999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab1c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000302065s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000224924s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000287245s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab1d')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab1d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000389064s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('57994029421aa931546aab1d')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000427299s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab1d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000255596s
-----------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_returns_a_mongoid_document
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00021532s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000275604s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab1e')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab1e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000409062s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab1e')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000343194s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000237038s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000337003s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00032293s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000306914s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab1f')}, "update"=>{"$set"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab1f'), "before_create_field"=>0, "after_create_field"=>0, "before_update_field"=>0, "after_update_...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00037762200000000004s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab1f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00026040300000000003s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000224315s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000339394s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('57994029421aa931546aab20'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00031170600000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab20')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000319702s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab20')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000297222s
---------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_affect_all_docs_if_query_is_empty
---------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00023238s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000275154s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab21')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab21'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00034394s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994029421aa931546aab21')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000261555s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog"}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000519881s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000284715s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0006407139999999999s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000475021s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f85e')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f85e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000584131s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f85e'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000592891s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f85e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000351648s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00025078300000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00037142999999999996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f85f')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f85f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00044907300000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"$or"=>[{"_id"=>BSON::ObjectId('57994050421aa9317025f860')}, {"name"=>"bhargav"}]}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f860'), "before_create_field"=>1, "after_create_field"=>0, "be...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000376568s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000222516s
---------------------------------------------------------------
CoreExtTest: test_versioned_create_when_document_already_exists
---------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000208254s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000261999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f861')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f861'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000393857s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"bhargav.r.raut@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f862'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000471066s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000360133s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0006904410000000001s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('57994050421aa9317025f863'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000517951s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000193079s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00020868s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000245653s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00032555700000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000357991s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f864')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f864'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000547715s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f864'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000576666s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('57994050421aa9317025f864')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"changed_...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005510409999999999s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000213337s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000238549s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f865')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f865'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00026365s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('57994050421aa9317025f865')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00037049500000000004s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f865')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00027894499999999995s
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000399137s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000433439s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f866')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f866'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000528815s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f867')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f867'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000448297s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f866')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000296477s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f866')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000277598s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f867')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000312729s
---------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_affect_all_docs_if_query_is_empty
---------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000243136s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000297962s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f868')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f868'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000340627s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f868')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000253507s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog"}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000357549s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00026478300000000004s
-----------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_returns_a_mongoid_document
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00023122s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000275748s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f869')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f869'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000331163s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f869')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00029746s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000233463s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000318069s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f86a')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f86a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000403717s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('57994050421aa9317025f86a')}, "u"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000432696s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f86a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00028658599999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f86a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000277434s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000229435s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00031484300000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f86b')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f86b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00035337700000000004s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f86b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000313112s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00028588100000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00046374700000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f86c')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f86c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0006056659999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f86c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000275039s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000267255s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000557604s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('57994050421aa9317025f86d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.025569697s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f86d')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005178520000000001s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f86d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000336483s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00025863599999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000276757s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f86e')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f86e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000481359s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('57994050421aa9317025f86e')}, "u"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000611071s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f86e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000371973s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f86e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000355264s
------------------------------------------------------------------------
CoreExtTest: test_bypass_versioning_gives_op_success_in_versioned_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000200616s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000287354s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f86f')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f86f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000346392s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f86f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000227805s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f86f')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"updated name", "email"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000302924s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f86f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00024046400000000002s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f86f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000213047s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000186414s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000249026s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f870')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f870'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00034485799999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f870')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail....
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00027414999999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f870')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000242471s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f870')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.0002053s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00018054100000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000270285s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f871')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f871'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00066896s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000305036s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000301636s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('57994050421aa9317025f872'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00037950699999999996s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f872')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000270121s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f872')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00032552000000000004s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000201576s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00024528800000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f873')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f873'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00029652199999999996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f874')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f874'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000292934s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f873')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f875'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000297775s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000204384s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000282744s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000182787s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000236686s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f876')}, "update"=>{"$set"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f876'), "before_create_field"=>0, "after_create_field"=>0, "before_update_field"=>0, "after_update_...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00029969999999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f876')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000235753s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00017380599999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000250251s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f877')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f877'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000302815s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f878')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f878'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00030005200000000003s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00016751s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000246574s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f879')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f879'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000325021s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('57994050421aa9317025f879')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000447762s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f879')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000270306s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f879')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000203543s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000157314s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000241448s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f87a')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f87a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00042223s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00028382s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f87a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000456291s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000267209s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000310812s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f87b')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f87b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000422792s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f87b')}, "u"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000263631s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f87b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000180118s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994050421aa9317025f87b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000176277s
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00047852699999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000347579s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ed0')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ed0'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000451931s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ed1')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ed1'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000433454s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ed0')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000346887s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ed0')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000309892s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ed1')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000223608s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000185011s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000265703s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ed2')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ed2'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000314906s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ed2')}, "u"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00026605899999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ed2')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000215269s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ed2')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00022870399999999998s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000180556s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000243887s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ed3')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ed3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.031302962s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('579940ed421aa93196335ed3')}, "u"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000575388s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ed3')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000285904s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ed3')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000379516s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0005155100000000001s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000512415s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('579940ed421aa93196335ed4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000468175s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000264646s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000228999s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00040914300000000005s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000360607s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000260766s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00038016899999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ed5')}, "update"=>{"$set"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ed5'), "before_create_field"=>0, "after_create_field"=>0, "before_update_field"=>0, "after_update_...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000520955s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ed5')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00029872s
---------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_affect_all_docs_if_query_is_empty
---------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000252982s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000374668s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ed6')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ed6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000470335s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ed6')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000303706s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog"}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000404366s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000252678s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000222948s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00036538799999999996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ed7')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ed7'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005066199999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ed7')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000418137s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00040465s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0005435889999999999s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('579940ed421aa93196335ed8'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000454576s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ed8')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00043500200000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ed8')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00027295199999999997s
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000230459s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000293477s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ed9')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ed9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000340667s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ed9'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000399424s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ed9')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000287083s
------------------------------------------------------------------------
CoreExtTest: test_bypass_versioning_gives_op_success_in_versioned_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000234696s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000273889s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335eda')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335eda'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000338716s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335eda')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000334488s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335eda')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"updated name", "email"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00046047199999999996s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335eda')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000384682s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335eda')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000353941s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000284797s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000403553s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335edb')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335edb'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000791811s
---------------------------------------------------------------
CoreExtTest: test_versioned_create_when_document_already_exists
---------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000385229s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00040518s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335edc')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335edc'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000501948s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"bhargav.r.raut@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335edd'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00044301999999999997s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000267435s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000364939s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ede')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ede'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00045711s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ede'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000539004s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('579940ed421aa93196335ede')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"changed_...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000436453s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000285761s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000357635s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335edf')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335edf'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000621666s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('579940ed421aa93196335edf')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000629859s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335edf')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000338676s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000301512s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000427714s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ee0')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ee0'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000378851s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ee0')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000364945s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00042527600000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.04031377s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ee1')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ee1'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0006801509999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ee1')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail....
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005677379999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ee1')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000470031s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ee1')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000431195s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000333058s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000447959s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('579940ed421aa93196335ee2'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000424916s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ee2')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00043049099999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ee2')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00046597200000000004s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000361619s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00038648700000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ee3')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ee3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000624315s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('579940ed421aa93196335ee3')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.001109856s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ee3')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00062338s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ee3')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000529467s
-----------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_returns_a_mongoid_document
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000329532s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000434756s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ee4')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ee4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000480999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ee4')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00043037500000000004s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000312349s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00037262s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ee5')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ee5'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00046020699999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ee6')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ee6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000399836s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ee5')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ee7'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000359055s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000200787s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00035821999999999997s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00023416s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00030681100000000004s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ee8')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ee8'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00038113599999999996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('579940ed421aa93196335ee8')}, "u"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000451171s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ee8')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000322201s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ee8')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000302753s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000315791s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00032103s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ee9')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ee9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000469417s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000322942s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335ee9')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00043623500000000004s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000428383s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000731432s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335eea')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335eea'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000697089s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335eeb')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335eeb'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000531827s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000253278s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000318464s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335eec')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335eec'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000353787s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"$or"=>[{"_id"=>BSON::ObjectId('579940ed421aa93196335eed')}, {"name"=>"bhargav"}]}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('579940ed421aa93196335eed'), "before_create_field"=>1, "after_create_field"=>0, "be...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000423769s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000189722s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
---------------------------------------------------------------
CoreExtTest: test_versioned_create_when_document_already_exists
---------------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000672051s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0006167400000000001s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564cd8')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564cd8'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000673998s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"bhargav.r.raut@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564cd9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000512031s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000402068s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.001021052s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564cda')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564cda'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000605338s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000335655s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000316529s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564cdb')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564cdb'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000484214s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564cdb')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000335478s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00029719699999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00043709200000000004s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564cdc')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564cdc'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0009736289999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564cdd')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564cdd'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000563061s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000278122s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.022799671s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564cde')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564cde'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000816258s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564cde')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail....
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000833615s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564cde')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000514076s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564cde')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00036685200000000003s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000282211s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00038359799999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564cdf')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564cdf'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000406045s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"$or"=>[{"_id"=>BSON::ObjectId('57994a4e421aa93709564ce0')}, {"name"=>"bhargav"}]}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564ce0'), "before_create_field"=>1, "after_create_field"=>0, "be...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000431952s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000286321s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000226576s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000376353s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('57994a4e421aa93709564ce1'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00029922600000000004s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564ce1')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00033137s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564ce1')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000323973s
---------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_affect_all_docs_if_query_is_empty
---------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000235825s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000259724s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564ce2')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564ce2'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000316071s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564ce2')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000224378s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog"}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000320306s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000224604s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000234557s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000290557s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564ce3')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564ce3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000368902s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('57994a4e421aa93709564ce3')}, "u"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000423562s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564ce3')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000314149s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564ce3')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000278562s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000231443s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000320358s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('57994a4e421aa93709564ce4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000528544s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000658785s
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000322345s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000508132s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564ce5')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564ce5'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000400412s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564ce6')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564ce6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00034742299999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564ce5')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000285731s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564ce5')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000289898s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564ce6')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00021796199999999998s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000159406s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000224825s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564ce7')}, "update"=>{"$set"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564ce7'), "before_create_field"=>0, "after_create_field"=>0, "before_update_field"=>0, "after_update_...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000317847s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564ce7')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000219767s
------------------------------------------------------------------------
CoreExtTest: test_bypass_versioning_gives_op_success_in_versioned_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000154793s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000224764s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564ce8')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564ce8'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00033483199999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564ce8')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000236932s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564ce8')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"updated name", "email"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000269886s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564ce8')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000181939s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564ce8')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000204687s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00015262s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000274183s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('57994a4e421aa93709564ce9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00027728599999999996s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564ce9')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000230478s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564ce9')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00025157500000000003s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000168251s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00021718199999999998s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564cea')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564cea'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000271888s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564cea'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000349044s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('57994a4e421aa93709564cea')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"changed_...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000320033s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000319303s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000263539s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564ceb')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564ceb'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000632517s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564ceb')}, "u"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000525654s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564ceb')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000705288s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564ceb')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00047603799999999997s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00026304s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000395256s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000284051s
-----------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_returns_a_mongoid_document
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000219518s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000268017s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564cec')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564cec'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00036006s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564cec')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00029362s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00018175800000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000230868s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564ced')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564ced'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00028857400000000005s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('57994a4e421aa93709564ced')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000617883s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564ced')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000361161s
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0005264200000000001s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.026977335999999998s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564cee')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564cee'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005320679999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564cee'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0007101130000000001s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564cee')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000615819s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000401531s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000499406s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564cef')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564cef'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000477236s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000292709s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564cef')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000273474s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000316104s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00041391s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564cf0')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564cf0'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00041748699999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('57994a4e421aa93709564cf0')}, "u"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000502181s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564cf0')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000308056s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564cf0')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000303214s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000266418s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00036266799999999996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564cf1')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564cf1'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000397461s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564cf2')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564cf2'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000407388s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564cf1')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564cf3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00037214500000000005s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00026708799999999996s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000286766s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00025539000000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000338881s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564cf4')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564cf4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000351693s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('57994a4e421aa93709564cf4')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00040144s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564cf4')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000287385s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564cf4')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00024104900000000002s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000173938s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000249413s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564cf5')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564cf5'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000528386s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57994a4e421aa93709564cf5')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000549041s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000949554s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.030158172s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb94de421aa9557e199eee')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb94de421aa9557e199eee'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0008186500000000001s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb94de421aa9557e199eef')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb94de421aa9557e199eef'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000577903s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb94de421aa9557e199eee')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb94de421aa9557e199ef0'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000553386s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000342814s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000480278s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000513141s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0005202000000000001s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb94de421aa9557e199ef1')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb94de421aa9557e199ef1'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000976528s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000361558s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000416318s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb94de421aa9557e199ef2')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb94de421aa9557e199ef2'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000477826s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"$or"=>[{"_id"=>BSON::ObjectId('57fb94de421aa9557e199ef3')}, {"name"=>"bhargav"}]}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb94de421aa9557e199ef3'), "before_create_field"=>1, "after_create_field"=>0, "be...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000581662s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000300476s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00026093400000000005s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00041122s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb94de421aa9557e199ef4')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb94de421aa9557e199ef4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000498616s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57fb94de421aa9557e199ef4'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005971840000000001s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('57fb94de421aa9557e199ef4')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"changed_...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000503708s
---------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_affect_all_docs_if_query_is_empty
---------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000409246s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000591965s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb94de421aa9557e199ef5')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb94de421aa9557e199ef5'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000649027s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb94de421aa9557e199ef5')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000402702s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog"}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00053741s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000275215s
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000266808s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000371655s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb94de421aa9557e199ef6')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb94de421aa9557e199ef6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000436879s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb94de421aa9557e199ef7')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb94de421aa9557e199ef7'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000445942s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57fb94de421aa9557e199ef6')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00039686100000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb94de421aa9557e199ef6')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000328614s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb94de421aa9557e199ef7')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00030325s
---------------------------------------------------------------
CoreExtTest: test_versioned_create_when_document_already_exists
---------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000326466s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000368996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb94de421aa9557e199ef8')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb94de421aa9557e199ef8'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00042556100000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"bhargav.r.raut@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb94de421aa9557e199ef9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00038697300000000004s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000247205s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00030280300000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb94de421aa9557e199efa')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb94de421aa9557e199efa'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000380996s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb94de421aa9557e199efa')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000305604s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00025825800000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000332002s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb94de421aa9557e199efb')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb94de421aa9557e199efb'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000420017s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('57fb94de421aa9557e199efb')}, "u"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000449196s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb94de421aa9557e199efb')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000449134s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb94de421aa9557e199efb')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00038547699999999996s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00040727600000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000480259s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb94de421aa9557e199efc')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb94de421aa9557e199efc'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000470264s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb94de421aa9557e199efd')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb94de421aa9557e199efd'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00041629600000000003s
-----------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_returns_a_mongoid_document
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00027765900000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000332556s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb94de421aa9557e199efe')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb94de421aa9557e199efe'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000479716s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57fb94de421aa9557e199efe')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00037976s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00026607899999999996s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000314727s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000327842s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000264946s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000243706s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('57fb94df421aa9557e199eff'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000339772s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb94df421aa9557e199eff')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000272702s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb94df421aa9557e199eff')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00036024s
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00016440499999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00021708699999999998s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb94df421aa9557e199f00')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb94df421aa9557e199f00'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000269518s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57fb94df421aa9557e199f00'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.030546862999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb94df421aa9557e199f00')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000285985s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000234238s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000265911s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57fb94df421aa9557e199f01')}, "update"=>{"$set"=>{"_id"=>BSON::ObjectId('57fb94df421aa9557e199f01'), "before_create_field"=>0, "after_create_field"=>0, "before_update_field"=>0, "after_update_...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000331893s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb94df421aa9557e199f01')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000244052s
----------------------------------------
CoreExtTest: test_image_versioned_update
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00018255099999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000250185s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb94df421aa9557e199f02')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb94df421aa9557e199f02'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.001177025s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('57fb94df421aa9557e199f02')}, "u"=>{"$set"=>{"image"=>nil}, "$inc"=>{"version"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000526858s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb94df421aa9557e199f02')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000265796s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000239107s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0002494s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb94df421aa9557e199f03')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb94df421aa9557e199f03'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000533748s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('57fb94df421aa9557e199f03')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000649474s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb94df421aa9557e199f03')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000473713s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb94df421aa9557e199f03')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000302276s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00027198500000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000466794s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb94df421aa9557e199f04')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb94df421aa9557e199f04'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000491749s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('57fb94df421aa9557e199f04')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000696623s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb94df421aa9557e199f04')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000412892s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00037037800000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000410995s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('57fb94df421aa9557e199f05'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00032868700000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb94df421aa9557e199f05')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000446839s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb94df421aa9557e199f05')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000317369s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00026171200000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00027402899999999996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb94df421aa9557e199f06')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb94df421aa9557e199f06'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000374754s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb94df421aa9557e199f06')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000272916s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000241139s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000259013s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb94df421aa9557e199f07')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb94df421aa9557e199f07'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00038712s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb94df421aa9557e199f07')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail....
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00033129000000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb94df421aa9557e199f07')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000294641s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb94df421aa9557e199f07')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00034320300000000004s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000505549s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000414943s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb94df421aa9557e199f08')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb94df421aa9557e199f08'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000699469s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('57fb94df421aa9557e199f08')}, "u"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000485745s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb94df421aa9557e199f08')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000337689s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb94df421aa9557e199f08')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000261956s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00024357600000000001s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000301818s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb94df421aa9557e199f09')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb94df421aa9557e199f09'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000381682s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000297722s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb94df421aa9557e199f09')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000313691s
------------------------------------------------------------------------
CoreExtTest: test_bypass_versioning_gives_op_success_in_versioned_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000208942s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000305387s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb94df421aa9557e199f0a')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb94df421aa9557e199f0a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.02017453s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb94df421aa9557e199f0a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.0006462709999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb94df421aa9557e199f0a')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"updated name", "email"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000612668s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb94df421aa9557e199f0a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000494509s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb94df421aa9557e199f0a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.0004954650000000001s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000449012s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000483838s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb94df421aa9557e199f0b')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb94df421aa9557e199f0b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000773026s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb94df421aa9557e199f0b')}, "u"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000485901s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb94df421aa9557e199f0b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000431006s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb94df421aa9557e199f0b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.0004952860000000001s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000380766s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00047036s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('57fb94df421aa9557e199f0c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000492859s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000494917s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000933386s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000719854s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('57fb951e421aa955b56ceefa'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.0006560100000000001s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00028874500000000003s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00029081699999999996s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000329515s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('57fb951e421aa955b56ceefb'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000288549s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56ceefb')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000366911s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56ceefb')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000317703s
----------------------------------------
CoreExtTest: test_image_versioned_update
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000238846s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00029552100000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56ceefc')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56ceefc'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00066009s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('57fb951e421aa955b56ceefc')}, "u"=>{"$set"=>{"image"=>nil}, "$inc"=>{"version"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.049524825s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56ceefc')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000414203s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000334436s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00035927s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56ceefd')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56ceefd'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005105579999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56ceefd')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000340129s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000281751s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000373216s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56ceefe')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56ceefe'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000401438s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56ceeff')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56ceeff'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0006361909999999999s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000398243s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00042376s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef00')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef00'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000510858s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('57fb951e421aa955b56cef00')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000690595s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef00')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000370674s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef00')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000343357s
------------------------------------------------------------------------
CoreExtTest: test_bypass_versioning_gives_op_success_in_versioned_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000333812s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000462901s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef01')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef01'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000507391s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef01')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00032954s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef01')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"updated name", "email"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000334335s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef01')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000286144s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef01')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00029359899999999997s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000263213s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00028231700000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef02')}, "update"=>{"$set"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef02'), "before_create_field"=>0, "after_create_field"=>0, "before_update_field"=>0, "after_update_...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000354126s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef02')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00026927099999999996s
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00047173399999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000462032s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef03')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef03'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00036595599999999996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef04')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef04'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00041863999999999996s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef03')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000343782s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef03')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00025388799999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef04')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000226478s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000206347s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000291024s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef05')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef05'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000406645s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef06')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef06'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00039115s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef05')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef07'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000335735s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000217959s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000289295s
---------------------------------------------------------------
CoreExtTest: test_versioned_create_when_document_already_exists
---------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00027782100000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00041829000000000004s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef08')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef08'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0004953280000000001s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"bhargav.r.raut@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef09'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000371924s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000220428s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000297368s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef0a')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef0a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000359518s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef0a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000281065s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000209146s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000283215s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef0b')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef0b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000563466s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef0b')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail....
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000372868s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef0b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00028054s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef0b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000346295s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0005708040000000001s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00037442599999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef0c')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef0c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000391829s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef0c'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000478059s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('57fb951e421aa955b56cef0c')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"changed_...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000402556s
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000222038s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000327927s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef0d')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef0d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000367975s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef0d'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000431515s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef0d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000256262s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000221982s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000329494s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef0e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000305174s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef0e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000324822s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef0e')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000373853s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000220035s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00028688499999999996s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000261952s
---------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_affect_all_docs_if_query_is_empty
---------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000201119s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000258038s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef0f')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef0f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.005594686s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef0f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000264129s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog"}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000357278s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00021204499999999998s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00019079s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00025502799999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef10')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef10'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00038924900000000004s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('57fb951e421aa955b56cef10')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000544394s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef10')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000224675s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00018154199999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000266636s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef11')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef11'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000509474s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00026534899999999996s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00025884s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef12')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef12'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000308708s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('57fb951e421aa955b56cef12')}, "u"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000363537s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef12')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00021544s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef12')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00018447600000000001s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000169727s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000264992s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef13')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef13'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000304095s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef13')}, "u"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000287083s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef13')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000254426s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef13')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000272954s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000174477s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000240557s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef14')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef14'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000295401s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"$or"=>[{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef15')}, {"name"=>"bhargav"}]}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef15'), "before_create_field"=>1, "after_create_field"=>0, "be...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000399576s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00020687699999999998s
-----------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_returns_a_mongoid_document
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00014666699999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00023066700000000002s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef16')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef16'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00033109100000000005s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef16')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000277623s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000232613s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000315728s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef17')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef17'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00043953000000000004s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000195131s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef17')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00024557699999999997s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000159734s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00025803400000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef18')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef18'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000602454s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('57fb951e421aa955b56cef18')}, "u"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000402335s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef18')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00030892399999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb951e421aa955b56cef18')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000324419s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
----------------------------------------
CoreExtTest: test_image_versioned_update
----------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0008627239999999999s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000489157s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb9547421aa955eac160cc')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb9547421aa955eac160cc'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0006548909999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('57fb9547421aa955eac160cc')}, "u"=>{"$set"=>{"image"=>nil}, "$inc"=>{"version"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.053772548s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb9547421aa955eac160cc')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000649782s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
----------------------------------------
CoreExtTest: test_image_versioned_update
----------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000822387s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000466034s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb959f421aa956162b9640')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb959f421aa956162b9640'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000777364s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('57fb959f421aa956162b9640')}, "u"=>{"$set"=>{"image"=>nil}, "$inc"=>{"version"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0006429669999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb959f421aa956162b9640')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000350826s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
----------------------------------------
CoreExtTest: test_image_versioned_update
----------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000534319s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000490565s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb97fa421aa956829eb891')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb97fa421aa956829eb891'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00089704s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('57fb97fa421aa956829eb891')}, "u"=>{"$set"=>{"image"=>nil}, "$inc"=>{"version"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000607002s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb97fa421aa956829eb891')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00034789699999999995s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
----------------------------------------
CoreExtTest: test_image_versioned_update
----------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000535753s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000411485s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('57fb9824421aa956a2fdd1e9')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('57fb9824421aa956a2fdd1e9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00071641s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('57fb9824421aa956a2fdd1e9')}, "u"=>{"$set"=>{"image"=>nil}, "$inc"=>{"version"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000761184s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('57fb9824421aa956a2fdd1e9')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000474114s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0008751389999999999s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000374314s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db66')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db66'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.042591028999999996s
---------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_affect_all_docs_if_query_is_empty
---------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000345241s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00045042199999999996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db67')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db67'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000408003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db67')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00036848200000000005s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog"}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005132709999999999s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000723298s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000316325s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.001059499s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db68')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db68'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000541893s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db68')}, "u"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000345971s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db68')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000251488s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db68')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00023998s
------------------------------------------------------------------------
CoreExtTest: test_bypass_versioning_gives_op_success_in_versioned_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00021561899999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000277764s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db69')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db69'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000388237s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db69')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000234362s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db69')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"updated name", "email"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000328447s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db69')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00026481s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db69')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000227633s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000205361s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000269485s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000447849s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00035142s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000399534s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('583fce51421aa92bf324db6a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00029099000000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db6a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000245147s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db6a')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000308495s
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000206929s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000227416s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db6b')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db6b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000309848s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db6b'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000401376s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db6b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000209913s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00021964s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00024305599999999998s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db6c')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db6c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000294324s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db6c')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail....
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000284629s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db6c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00020547000000000002s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db6c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000272613s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000189392s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00024974700000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db6d')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db6d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000318557s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db6d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000205808s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000206684s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00023258s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db6e')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db6e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000294997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('583fce51421aa92bf324db6e')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000429511s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db6e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000207964s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db6e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00025454599999999997s
-----------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_returns_a_mongoid_document
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00020973799999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000286503s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db6f')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db6f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005970390000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db6f')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000718348s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000528538s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000405659s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db70')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db70'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000348482s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db71')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db71'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000365583s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000197684s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000264809s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('583fce51421aa92bf324db72'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00025612300000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db72')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00027060100000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db72')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00024640700000000003s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000176338s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000237781s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db73')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db73'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000296043s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('583fce51421aa92bf324db73')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00036823600000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db73')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000206456s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000188569s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00026910700000000004s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db74')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db74'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000293339s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000195032s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db74')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000195854s
----------------------------------------
CoreExtTest: test_image_versioned_update
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00017330499999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000232475s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db75')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db75'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.019586401s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('583fce51421aa92bf324db75')}, "u"=>{"$set"=>{"image"=>nil}, "$inc"=>{"version"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.001130081s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db75')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000964049s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000393917s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000429921s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('583fce51421aa92bf324db76'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00032865s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000244786s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000254669s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000322133s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db77')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db77'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00040618800000000004s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db77')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000213862s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000220533s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000246121s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db78')}, "update"=>{"$set"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db78'), "before_create_field"=>0, "after_create_field"=>0, "before_update_field"=>0, "after_update_...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000327099s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db78')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000261515s
---------------------------------------------------------------
CoreExtTest: test_versioned_create_when_document_already_exists
---------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00018355s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000240494s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db79')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db79'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000298201s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"bhargav.r.raut@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db7a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000295188s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000223417s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000275628s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db7b')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db7b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000351465s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('583fce51421aa92bf324db7b')}, "u"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000487372s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db7b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000368731s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db7b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000456356s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000413507s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000649292s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db7c')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db7c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000654056s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db7c'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00047730099999999996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('583fce51421aa92bf324db7c')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"changed_...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000463661s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000292065s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00043351399999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db7d')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db7d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000399754s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db7e')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db7e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00034174600000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db7d')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db7f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000286403s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000251181s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000315739s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000181363s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00026178100000000005s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db80')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db80'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000363353s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('583fce51421aa92bf324db80')}, "u"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00038798s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db80')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00024730600000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db80')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000192365s
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000205543s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00026811500000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db81')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db81'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000394318s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db82')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db82'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000331565s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db81')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000286203s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db81')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00023454s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fce51421aa92bf324db82')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000272085s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00019513999999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.01411077s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fce52421aa92bf324db83')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fce52421aa92bf324db83'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00042772100000000005s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"$or"=>[{"_id"=>BSON::ObjectId('583fce52421aa92bf324db84')}, {"name"=>"bhargav"}]}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fce52421aa92bf324db84'), "before_create_field"=>1, "after_create_field"=>0, "be...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000526661s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00030088600000000005s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000498311s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00038519199999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('583fcf68421aa92c5fad4295')}, "update"=>{"$set"=>{"_id"=>BSON::ObjectId('583fcf68421aa92c5fad4295'), "before_create_field"=>0, "after_create_field"=>0, "before_update_field"=>0, "after_update_...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000404205s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fcf68421aa92c5fad4295')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000254561s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000460041s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000294067s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fd20b421aa92d6ec7e9d2')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fd20b421aa92d6ec7e9d2'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000378476s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('583fd20b421aa92d6ec7e9d2')}, "u"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000343086s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fd20b421aa92d6ec7e9d2')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00022005s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fd20b421aa92d6ec7e9d2')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000172904s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000150757s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00022874199999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fd20b421aa92d6ec7e9d3')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fd20b421aa92d6ec7e9d3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000249192s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('583fd20b421aa92d6ec7e9d3')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000311628s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fd20b421aa92d6ec7e9d3')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00017421s
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000144984s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00020227899999999998s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fd20b421aa92d6ec7e9d4')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fd20b421aa92d6ec7e9d4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00028562199999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fd20b421aa92d6ec7e9d5')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fd20b421aa92d6ec7e9d5'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00027831s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('583fd20b421aa92d6ec7e9d4')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000238567s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fd20b421aa92d6ec7e9d4')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00016017800000000002s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fd20b421aa92d6ec7e9d5')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00015549s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000139901s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000223373s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fd20b421aa92d6ec7e9d6')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fd20b421aa92d6ec7e9d6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000701218s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000227087s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.085173418s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fd20b421aa92d6ec7e9d7')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fd20b421aa92d6ec7e9d7'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000727278s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fd20b421aa92d6ec7e9d7')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00056712s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000385624s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000540261s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fd20b421aa92d6ec7e9d8')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fd20b421aa92d6ec7e9d8'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000690942s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fd20b421aa92d6ec7e9d8')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000476132s
-----------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_returns_a_mongoid_document
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000348666s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0005441350000000001s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fd20b421aa92d6ec7e9d9')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fd20b421aa92d6ec7e9d9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.001035071s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('583fd20b421aa92d6ec7e9d9')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000610243s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000387639s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000469348s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000493364s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000354264s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000494468s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9da')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9da'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000610739s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000410141s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9da')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000431642s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000306197s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000418832s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9db')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9db'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000537179s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"$or"=>[{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9dc')}, {"name"=>"bhargav"}]}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9dc'), "before_create_field"=>1, "after_create_field"=>0, "be...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000661291s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000320886s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000293477s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000490879s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9dd')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9dd'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000528796s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9de')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9de'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000488192s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000315092s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0008108280000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9df')}, "update"=>{"$set"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9df'), "before_create_field"=>0, "after_create_field"=>0, "before_update_field"=>0, "after_update_...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000799247s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9df')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000510293s
---------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_with_set_on_insert
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000348536s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000461697s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9e0')}, "update"=>{"$setOnInsert"=>{"name"=>"cat"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000479477s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000392603s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000492719s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9e1'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000526861s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9e1')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00041821999999999996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9e1')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000494403s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000381497s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000495042s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9e2')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9e2'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000562958s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9e2'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000735128s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9e2')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"changed_...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000717139s
---------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_affect_all_docs_if_query_is_empty
---------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000414014s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000549785s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9e3')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9e3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000786322s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9e3')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.0007117649999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog"}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.017621323s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00034835599999999997s
------------------------------------------------------------------------
CoreExtTest: test_bypass_versioning_gives_op_success_in_versioned_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000356849s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000562764s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9e4')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9e4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00067995s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9e4')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000475864s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9e4')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"updated name", "email"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000694434s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9e4')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000644951s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9e4')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000488051s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000474852s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0005924620000000001s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9e5'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"ten"}...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000569413s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00043999900000000005s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000429454s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0005519240000000001s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9e6')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9e6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000765632s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9e6')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail....
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005753280000000001s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9e6')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.0005062830000000001s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9e6')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000441105s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00041609599999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0005328700000000001s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9e7')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9e7'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0006171600000000001s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9e8')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9e8'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0006051850000000001s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9e7')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9e9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000689353s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00040611499999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00039344s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00035417999999999995s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00044723800000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9ea')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9ea'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000583047s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9ea')}, "u"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000649526s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9ea')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00036449299999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9ea')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000368883s
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00027471799999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00036299s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9eb')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9eb'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00043486s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9eb'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000509526s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9eb')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00030452500000000004s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000260489s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000398325s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9ec'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", "name"=>"bharg...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00031736300000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9ec')}, "u"=>{"$unset"=>{"version"=>true, "op_success"=>true}, "$set"=>{"email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "orde...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000370297s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9ec')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00028236200000000003s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000225171s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00030302300000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9ed')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9ed'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000400009s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9ed')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000564771s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9ed')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000406603s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9ed')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000406895s
----------------------------------------
CoreExtTest: test_image_versioned_update
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000322281s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00039184800000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9ee')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9ee'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000736003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9ee')}, "u"=>{"$set"=>{"image"=>nil}, "$inc"=>{"version"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.09416814500000001s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9ee')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.0006944890000000001s
---------------------------------------------------------------
CoreExtTest: test_versioned_create_when_document_already_exists
---------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000426345s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000548874s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9ef')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9ef'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000652839s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"bhargav.r.raut@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9f0'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0006206030000000001s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000305684s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000732711s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9f1')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9f1'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0008084289999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9f1')}, "u"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000463734s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9f1')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00037085899999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fd20c421aa92d6ec7e9f1')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000415274s
---------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_with_set_on_insert
---------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000622203s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000451622s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('583fd216421aa92d87ee9a00')}, "update"=>{"$setOnInsert"=>{"name"=>"cat"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000440067s
---------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_with_set_on_insert
---------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000645759s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000509187s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('583fd58b421aa92f9ec95611')}, "update"=>{"$setOnInsert"=>{"name"=>"cat"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.038947015s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('583fd58b421aa92f9ec95611')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000556909s
---------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_affect_all_docs_if_query_is_empty
---------------------------------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0005570260000000001s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000431849s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('58400685421aa937950a584f')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('58400685421aa937950a584f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005523510000000001s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('58400685421aa937950a584f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000293285s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog"}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000345348s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00020655s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00019658299999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000269535s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5850')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5850'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000375892s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5850'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000405473s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('58400685421aa937950a5850')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"changed_...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000393967s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00020750399999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.062489431000000005s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5851')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5851'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000624276s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000314128s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5851')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000346563s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000305615s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000619794s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5852')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5852'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000839279s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000421178s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00042638400000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5853')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5853'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000479115s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('58400685421aa937950a5853')}, "u"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005004920000000001s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5853')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00047184099999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5853')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000331546s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00026710199999999996s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000344493s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5854')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5854'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00042163s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5854')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail....
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000387019s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5854')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00030106100000000004s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5854')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000319772s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00026906s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000339563s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5855')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5855'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0004900869999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('58400685421aa937950a5855')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00048827399999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5855')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000316276s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000244716s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000339574s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5856')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5856'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000521803s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"$or"=>[{"_id"=>BSON::ObjectId('58400685421aa937950a5857')}, {"name"=>"bhargav"}]}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5857'), "before_create_field"=>1, "after_create_field"=>0, "be...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0007499669999999999s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000273775s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000238841s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00029099s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5858')}, "update"=>{"$set"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5858'), "before_create_field"=>0, "after_create_field"=>0, "before_update_field"=>0, "after_update_...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000386008s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5858')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00025476300000000003s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000197088s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000274325s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5859')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5859'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000352472s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('58400685421aa937950a5859')}, "u"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000408142s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5859')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000334425s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5859')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000266489s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000233189s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000327302s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('58400685421aa937950a585a')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('58400685421aa937950a585a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000359737s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('58400685421aa937950a585a')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000426247s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('58400685421aa937950a585a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000276218s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('58400685421aa937950a585a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000248s
----------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_save
----------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00019578599999999999s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000278947s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('58400685421aa937950a585b'), "version"=>10, "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com",...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000279657s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('58400685421aa937950a585b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00031972500000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('58400685421aa937950a585b')}, "u"=>{"$set"=>{"before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00032097500000000004s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_create
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000221179s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00033476000000000003s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('58400685421aa937950a585c'), "version"=>10, "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com",...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00029871000000000005s
-----------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_returns_a_mongoid_document
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00023711799999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000324689s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('58400685421aa937950a585d')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('58400685421aa937950a585d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00043793099999999996s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('58400685421aa937950a585d')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000498307s
------------------------------------------------------------------------
CoreExtTest: test_bypass_versioning_gives_op_success_in_versioned_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000324626s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000288743s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('58400685421aa937950a585e')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('58400685421aa937950a585e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.030939211s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('58400685421aa937950a585e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000519851s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('58400685421aa937950a585e')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"updated name", "email"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0006755180000000001s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('58400685421aa937950a585e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000433188s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('58400685421aa937950a585e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00048691200000000004s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000356789s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000518018s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('58400685421aa937950a585f')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('58400685421aa937950a585f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0006376299999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5860')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5860'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005942100000000001s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('58400685421aa937950a585f')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5861'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000536096s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000372655s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000473774s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000339075s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000502995s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5862')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5862'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00039376600000000004s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5862')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000254753s
------------------------------------------------------------------------
CoreExtTest: test_version_and_op_success_not_persisted_on_calling_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000297878s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000677507s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"users", "documents"=>[{"_id"=>BSON::ObjectId('58400685421aa937950a5863'), "version"=>0, "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail.com", ...
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.0007506020000000001s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5863')}, "u"=>{"$set"=>{"version"=>10, "op_success"=>true, "email"=>"bharg@gmail.com", "before_update_field"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000650422s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5863')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00035684199999999996s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00028516500000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00041149599999999996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5864')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5864'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000515263s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5864')}, "u"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000424935s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5864')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00032062000000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5864')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00030651s
---------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_with_set_on_insert
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00029519999999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00039247s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5865')}, "update"=>{"$setOnInsert"=>{"name"=>"cat"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000444464s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5865')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000338419s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000261288s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000372467s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000395699s
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000272134s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000380784s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5866')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5866'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000542907s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5867')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5867'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000491803s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5866')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000453119s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5866')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000300177s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5867')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000297525s
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000292994s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000465326s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5868')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5868'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005260670000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5868'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000608081s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5868')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000318063s
----------------------------------------
CoreExtTest: test_image_versioned_update
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000262703s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00039224999999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5869')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5869'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.061865986s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('58400685421aa937950a5869')}, "u"=>{"$set"=>{"image"=>nil}, "$inc"=>{"version"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000832388s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('58400685421aa937950a5869')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.0006035670000000001s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000493822s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0005461379999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('58400685421aa937950a586a')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('58400685421aa937950a586a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000624283s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('58400685421aa937950a586a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000374787s
---------------------------------------------------------------
CoreExtTest: test_versioned_create_when_document_already_exists
---------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000305799s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000473834s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('58400685421aa937950a586b')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('58400685421aa937950a586b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000450252s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"bhargav.r.raut@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('58400685421aa937950a586c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000437662s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00030243699999999996s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000389775s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('58400685421aa937950a586d')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('58400685421aa937950a586d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000448365s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('58400685421aa937950a586e')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('58400685421aa937950a586e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00037430600000000003s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000533746s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000366952s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e04d')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e04d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000421128s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('584008ee421aa9382c49e04d')}, "u"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00040682699999999996s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e04d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00025211s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e04d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000239004s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000186622s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000238657s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e04e')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e04e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000284708s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e04e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000195994s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000164229s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000221952s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e04f')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e04f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000293323s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('584008ee421aa9382c49e04f')}, "u"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000344131s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e04f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000277784s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e04f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000342185s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000273756s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000392185s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e050')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e050'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000544076s
------------------------------------------------------------------------
CoreExtTest: test_bypass_versioning_gives_op_success_in_versioned_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000288079s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00028502700000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e051')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e051'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00030543400000000004s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e051')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000219836s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e051')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"updated name", "email"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000280114s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e051')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00022492900000000001s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e051')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000181459s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000162823s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000239421s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e052')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e052'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000281433s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e052')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000193871s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000193324s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0003805s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e053')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e053'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000521345s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('584008ee421aa9382c49e053')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000564724s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e053')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000249546s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e053')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000239726s
---------------------------------------------------------------
CoreExtTest: test_versioned_create_when_document_already_exists
---------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00021758999999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00028471299999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e054')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e054'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00031251s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"bhargav.r.raut@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e055'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00029729699999999997s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00017965600000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00024791799999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e056')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e056'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.050017200000000005s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e057')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e057'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00091765s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e056')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e058'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0007634450000000001s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000386117s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000449885s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000400748s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000447909s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000484317s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000309724s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000438433s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e059')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e059'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000457576s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('584008ee421aa9382c49e059')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000550708s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e059')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000307326s
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000290371s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000401189s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e05a')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e05a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000396151s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e05b')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e05b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00038611s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e05a')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00036184700000000005s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e05a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000273108s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e05b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000262031s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000240321s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0003274s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e05c')}, "update"=>{"$set"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e05c'), "before_create_field"=>0, "after_create_field"=>0, "before_update_field"=>0, "after_update_...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000383725s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e05c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000274137s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000228828s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000304567s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e05d')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e05d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000394567s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e05d')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail....
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000391547s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e05d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000266292s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e05d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000297068s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00022260599999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000322447s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e05e')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e05e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0006933480000000001s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e05f')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e05f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000779463s
----------------------------------------
CoreExtTest: test_image_versioned_update
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000388602s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000424578s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e060')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e060'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000769374s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('584008ee421aa9382c49e060')}, "u"=>{"$set"=>{"image"=>nil}, "$inc"=>{"version"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.03873434s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e060')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000513043s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000360119s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000475012s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e061')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e061'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000545013s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e061')}, "u"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000512573s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e061')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00025593400000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e061')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000463738s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000383628s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0006258780000000001s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e062')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e062'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000577774s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e062'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000667075s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('584008ee421aa9382c49e062')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"changed_...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000586602s
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00031456299999999996s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000453552s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e063')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e063'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000556468s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e063'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000646337s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e063')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000350134s
---------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_affect_all_docs_if_query_is_empty
---------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00034487499999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000428703s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e064')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e064'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000566415s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e064')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000394535s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog"}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000494233s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000319545s
---------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_with_set_on_insert
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00036117800000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000382988s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e065')}, "update"=>{"$setOnInsert"=>{"name"=>"cat"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000460743s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e065')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000318444s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000278834s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000400893s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e066')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e066'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000408957s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000236955s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e066')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000725708s
-----------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_returns_a_mongoid_document
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000377334s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000497732s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e067')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e067'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005791300000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e067')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000428889s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00036524400000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00037849199999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e068')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e068'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000419063s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"$or"=>[{"_id"=>BSON::ObjectId('584008ee421aa9382c49e069')}, {"name"=>"bhargav"}]}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('584008ee421aa9382c49e069'), "before_create_field"=>1, "after_create_field"=>0, "be...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000474186s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000274412s
---------------------------------------
CoreExtTest: test_cross_model_callbacks
---------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0007295579999999999s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.028491278000000002s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"things", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5870d28e421aa90fa1785cc4')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5870d28e421aa90fa1785cc4'), "entries"=>{}, "version"=>1}}, "multi"=>false, "upsert"=>true}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.001290756s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"entries", "documents"=>[{"_id"=>BSON::ObjectId('5870d28e421aa90fa1785cc5'), "parent_thing_id"=>"5870d28e421aa90fa1785cc4"}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.001031251s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"things", "query"=>{"_id"=>"5870d28e421aa90fa1785cc4"}, "update"=>{"$set"=>{"entries.5870d28e421aa90fa1785cc5"=>1483788942}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00038235499999999997s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
---------------------------------------
CoreExtTest: test_cross_model_callbacks
---------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000507906s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00030327999999999996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"things", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5870d2fb421aa90fe8c6e859')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5870d2fb421aa90fe8c6e859'), "entries"=>{}, "version"=>1}}, "multi"=>false, "upsert"=>true}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000490599s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"entries", "documents"=>[{"_id"=>BSON::ObjectId('5870d2fb421aa90fe8c6e85a'), "parent_thing_id"=>"5870d2fb421aa90fe8c6e859"}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000431158s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"things", "query"=>{"_id"=>"5870d2fb421aa90fe8c6e859"}, "update"=>{"$set"=>{"entries.5870d2fb421aa90fe8c6e85a"=>1483789051}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00023137s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"things", "filter"=>{"_id"=>BSON::ObjectId('5870d2fb421aa90fe8c6e859')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000239708s
---------------------------------------
CoreExtTest: test_cross_model_callbacks
---------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000506837s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00027271800000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"things", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5870d36b421aa910199dad1b')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5870d36b421aa910199dad1b'), "entries"=>{}, "version"=>1}}, "multi"=>false, "upsert"=>true}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000682679s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"entries", "documents"=>[{"_id"=>BSON::ObjectId('5870d36b421aa910199dad1c'), "parent_thing_id"=>"5870d36b421aa910199dad1b"}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000593989s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"things", "query"=>{"_id"=>"5870d36b421aa910199dad1b"}, "update"=>{"$set"=>{"entries.5870d36b421aa910199dad1c"=>1483789163}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00032451299999999996s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"things", "query"=>{"_id"=>"5870d36b421aa910199dad1b"}, "update"=>{"$set"=>{"entries.5870d36b421aa910199dad1c"=>1483789163}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000267959s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"things", "filter"=>{"_id"=>BSON::ObjectId('5870d36b421aa910199dad1b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000319547s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
---------------------------------------
CoreExtTest: test_cross_model_callbacks
---------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000596807s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000320721s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"things", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5870d3b2421aa9103e3a82b5')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5870d3b2421aa9103e3a82b5'), "entries"=>{}, "version"=>1}}, "multi"=>false, "upsert"=>true}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000834621s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"entries", "documents"=>[{"_id"=>BSON::ObjectId('5870d3b2421aa9103e3a82b6'), "parent_thing_id"=>"5870d3b2421aa9103e3a82b5"}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.034344146s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"things", "query"=>{"_id"=>"5870d3b2421aa9103e3a82b5"}, "update"=>{"$set"=>{"entries.5870d3b2421aa9103e3a82b6"=>1483789234}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000662229s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"things", "query"=>{"_id"=>"5870d3b2421aa9103e3a82b5"}, "update"=>{"$set"=>{"entries.5870d3b2421aa9103e3a82b6"=>1483789234}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000597252s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"things", "filter"=>{"_id"=>BSON::ObjectId('5870d3b2421aa9103e3a82b5')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.0005765999999999999s
---------------------------------------
CoreExtTest: test_cross_model_callbacks
---------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000623786s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000487804s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"things", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5870d3df421aa9105fafd825')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5870d3df421aa9105fafd825'), "entries"=>{}, "version"=>1}}, "multi"=>false, "upsert"=>true}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000729518s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"entries", "documents"=>[{"_id"=>BSON::ObjectId('5870d3df421aa9105fafd826'), "parent_thing_id"=>"5870d3df421aa9105fafd825"}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000492675s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"things", "query"=>{"id"=>"5870d3df421aa9105fafd825"}, "update"=>{"$set"=>{"entries.5870d3df421aa9105fafd826"=>1483789279}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00037102099999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"things", "query"=>{"id"=>"5870d3df421aa9105fafd825"}, "update"=>{"$set"=>{"entries.5870d3df421aa9105fafd826"=>1483789279}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00031731200000000004s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"things", "filter"=>{"_id"=>BSON::ObjectId('5870d3df421aa9105fafd825')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00028062299999999997s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
---------------------------------------
CoreExtTest: test_cross_model_callbacks
---------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000961816s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000585617s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"things", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5870d405421aa9107d9c7f8f')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5870d405421aa9107d9c7f8f'), "entries"=>{}, "version"=>1}}, "multi"=>false, "upsert"=>true}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0008923770000000001s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"entries", "documents"=>[{"_id"=>BSON::ObjectId('5870d405421aa9107d9c7f90'), "parent_thing_id"=>"5870d405421aa9107d9c7f8f"}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000622957s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
---------------------------------------
CoreExtTest: test_cross_model_callbacks
---------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000667818s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000281074s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"things", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5870d41f421aa91095ea07ea')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5870d41f421aa91095ea07ea'), "entries"=>{}, "version"=>1}}, "multi"=>false, "upsert"=>true}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000477646s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"entries", "documents"=>[{"_id"=>BSON::ObjectId('5870d41f421aa91095ea07eb'), "parent_thing_id"=>"5870d41f421aa91095ea07ea"}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00038529199999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"things", "query"=>{"id"=>"5870d41f421aa91095ea07ea"}, "update"=>{"$set"=>{"entries.5870d41f421aa91095ea07eb"=>1483789343}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000269543s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"things", "query"=>{"id"=>"5870d41f421aa91095ea07ea"}, "update"=>{"$set"=>{"entries.5870d41f421aa91095ea07eb"=>1483789343}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000212088s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"things", "filter"=>{"_id"=>BSON::ObjectId('5870d41f421aa91095ea07ea')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00022318700000000002s
---------------------------------------
CoreExtTest: test_cross_model_callbacks
---------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000581113s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000311185s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"things", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5870d4ae421aa911195b8d5e')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5870d4ae421aa911195b8d5e'), "entries"=>{}, "version"=>1}}, "multi"=>false, "upsert"=>true}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00047512199999999997s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"entries", "documents"=>[{"_id"=>BSON::ObjectId('5870d4ae421aa911195b8d5f'), "parent_thing_id"=>"5870d4ae421aa911195b8d5e"}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00040094400000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"things", "query"=>{"id"=>"5870d4ae421aa911195b8d5e"}, "update"=>{"$set"=>{"entries.5870d4ae421aa911195b8d5f"=>1483789486}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000285439s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"things", "query"=>{"id"=>"5870d4ae421aa911195b8d5e"}, "update"=>{"$set"=>{"entries.5870d4ae421aa911195b8d5f"=>1483789486}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000232236s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"things", "filter"=>{"_id"=>BSON::ObjectId('5870d4ae421aa911195b8d5e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000236604s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
---------------------------------------
CoreExtTest: test_cross_model_callbacks
---------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000702738s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000328519s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"things", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5870d4e4421aa9113909da9c')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5870d4e4421aa9113909da9c'), "entries"=>{}, "version"=>1}}, "multi"=>false, "upsert"=>true}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000489681s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"entries", "documents"=>[{"_id"=>BSON::ObjectId('5870d4e4421aa9113909da9d'), "parent_thing_id"=>"5870d4e4421aa9113909da9c"}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000472315s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"things", "query"=>{"id"=>"5870d4e4421aa9113909da9c"}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000285556s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"things", "query"=>{"id"=>"5870d4e4421aa9113909da9c"}, "update"=>{"$set"=>{"entries.5870d4e4421aa9113909da9d"=>1483789540}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000292379s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"things", "query"=>{"id"=>"5870d4e4421aa9113909da9c"}, "update"=>{"$set"=>{"entries.5870d4e4421aa9113909da9d"=>1483789540}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000236837s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"things", "filter"=>{"_id"=>BSON::ObjectId('5870d4e4421aa9113909da9c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00025891900000000003s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
---------------------------------------
CoreExtTest: test_cross_model_callbacks
---------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000583322s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00032062599999999996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"things", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5870d505421aa9115025f626')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5870d505421aa9115025f626'), "entries"=>{}, "version"=>1}}, "multi"=>false, "upsert"=>true}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000550054s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"entries", "documents"=>[{"_id"=>BSON::ObjectId('5870d505421aa9115025f627'), "parent_thing_id"=>"5870d505421aa9115025f626"}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00045847199999999997s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"things", "query"=>{"_id"=>"5870d505421aa9115025f626"}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00032829399999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"things", "query"=>{"_id"=>"5870d505421aa9115025f626"}, "update"=>{"$set"=>{"entries.5870d505421aa9115025f627"=>1483789573}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000299141s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"things", "query"=>{"_id"=>"5870d505421aa9115025f626"}, "update"=>{"$set"=>{"entries.5870d505421aa9115025f627"=>1483789573}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000254202s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"things", "filter"=>{"_id"=>BSON::ObjectId('5870d505421aa9115025f626')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000255984s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
---------------------------------------
CoreExtTest: test_cross_model_callbacks
---------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000601507s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000276762s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"things", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5870d540421aa911786db285')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5870d540421aa911786db285'), "entries"=>{}, "version"=>1}}, "multi"=>false, "upsert"=>true}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000756038s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"things", "filter"=>{"_id"=>BSON::ObjectId('5870d540421aa911786db285')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00032093599999999996s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"entries", "documents"=>[{"_id"=>BSON::ObjectId('5870d540421aa911786db286'), "parent_thing_id"=>"5870d540421aa911786db285"}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.0005490320000000001s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"things", "query"=>{"_id"=>"5870d540421aa911786db285"}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00029121400000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"things", "query"=>{"_id"=>"5870d540421aa911786db285"}, "update"=>{"$set"=>{"entries.5870d540421aa911786db286"=>1483789632}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000342967s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"things", "query"=>{"_id"=>"5870d540421aa911786db285"}, "update"=>{"$set"=>{"entries.5870d540421aa911786db286"=>1483789632}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000319268s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"things", "filter"=>{"_id"=>BSON::ObjectId('5870d540421aa911786db285')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000450962s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
---------------------------------------
CoreExtTest: test_cross_model_callbacks
---------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000517606s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00026554400000000004s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"things", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5870d598421aa911a7c0760c')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5870d598421aa911a7c0760c'), "entries"=>{}, "version"=>1}}, "multi"=>false, "upsert"=>true}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005419s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
---------------------------------------
CoreExtTest: test_cross_model_callbacks
---------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00049915s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000297516s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"things", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5870d5ae421aa911c4679c76')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5870d5ae421aa911c4679c76'), "entries"=>{}, "version"=>1}}, "multi"=>false, "upsert"=>true}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000454816s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"things", "query"=>{"_id"=>"5870d5ae421aa911c4679c76"}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000218106s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
---------------------------------------
CoreExtTest: test_cross_model_callbacks
---------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000536974s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00030539s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"things", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5870d6ce421aa91246597a7c')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5870d6ce421aa91246597a7c'), "entries"=>{}, "version"=>1}}, "multi"=>false, "upsert"=>true}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00047149700000000003s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"entries", "documents"=>[{"_id"=>BSON::ObjectId('5870d6ce421aa91246597a7d'), "parent_thing_id"=>BSON::ObjectId('5870d6ce421aa91246597a7c')}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00046193s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"things", "query"=>{"_id"=>BSON::ObjectId('5870d6ce421aa91246597a7c')}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00029180899999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"things", "query"=>{"_id"=>BSON::ObjectId('5870d6ce421aa91246597a7c')}, "update"=>{"$set"=>{"entries.5870d6ce421aa91246597a7d"=>1483790030}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000299895s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"things", "filter"=>{"_id"=>BSON::ObjectId('5870d6ce421aa91246597a7c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000254781s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
---------------------------------------
CoreExtTest: test_cross_model_callbacks
---------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0006058509999999999s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000321774s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"things", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5870d784421aa912cfdfc5be')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5870d784421aa912cfdfc5be'), "entries"=>{}, "version"=>1}}, "multi"=>false, "upsert"=>true}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000579295s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"entries", "documents"=>[{"_id"=>BSON::ObjectId('5870d785421aa912cfdfc5bf'), "parent_thing_id"=>BSON::ObjectId('5870d784421aa912cfdfc5be')}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000474272s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"things", "query"=>{"_id"=>BSON::ObjectId('5870d784421aa912cfdfc5be')}, "update"=>{"$set"=>{"entries.5870d785421aa912cfdfc5bf"=>1483790213}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0006836139999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"things", "filter"=>{"_id"=>BSON::ObjectId('5870d784421aa912cfdfc5be')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000345785s
---------------------------------------
CoreExtTest: test_cross_model_callbacks
---------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00052821s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000304039s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"things", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5870d79f421aa912ed8385cf')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5870d79f421aa912ed8385cf'), "entries"=>{}, "version"=>1}}, "multi"=>false, "upsert"=>true}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000478987s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"entries", "documents"=>[{"_id"=>BSON::ObjectId('5870d79f421aa912ed8385d0'), "parent_thing_id"=>BSON::ObjectId('5870d79f421aa912ed8385cf')}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.398837717s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"things", "query"=>{"_id"=>BSON::ObjectId('5870d79f421aa912ed8385cf')}, "update"=>{"$set"=>{"entries.5870d79f421aa912ed8385d0"=>1483790239}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000756816s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"things", "filter"=>{"_id"=>BSON::ObjectId('5870d79f421aa912ed8385cf')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000479655s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000670082s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000459588s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b11')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b11'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000659277s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b12')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b12'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000493507s
---------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_affect_all_docs_if_query_is_empty
---------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000285083s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000396929s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b13')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b13'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00047836499999999996s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b13')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000311707s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog"}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000448868s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000232685s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000210578s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00023003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b14')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b14'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000482366s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5870d7cc421aa91311400b14')}, "u"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0008927410000000001s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b14')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00044102999999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b14')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000359063s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000314549s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000417759s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b15')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b15'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000497516s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000271154s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b15')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000295594s
---------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_with_set_on_insert
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00024209199999999999s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000357231s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b16')}, "update"=>{"$setOnInsert"=>{"name"=>"cat"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000391922s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b16')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000275281s
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000251678s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000381462s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b17')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b17'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000432602s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b18')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b18'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00041442s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b17')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000399193s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b17')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000301726s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b18')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000281824s
---------------------------------------
CoreExtTest: test_cross_model_callbacks
---------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00025659500000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00037467100000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"things", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b19')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b19'), "entries"=>{}, "version"=>1}}, "multi"=>false, "upsert"=>true}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.031276237000000005s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"entries", "documents"=>[{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b1a'), "parent_thing_id"=>BSON::ObjectId('5870d7cc421aa91311400b19')}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000696864s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"things", "query"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b19')}, "update"=>{"$set"=>{"entries.5870d7cc421aa91311400b1a"=>1483790284}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00050963s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"things", "filter"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b19')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000344611s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000308024s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00041149100000000005s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b1b')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b1b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000787583s
---------------------------------------------------------------
CoreExtTest: test_versioned_create_when_document_already_exists
---------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000367973s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000548182s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b1c')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b1c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000441259s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"bhargav.r.raut@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b1d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000461069s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000272278s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000364108s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b1e')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b1e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00047475100000000004s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5870d7cc421aa91311400b1e')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00052456s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b1e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000364942s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00026286800000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000310106s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b1f')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b1f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000849335s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b20')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b20'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000808484s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b1f')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b21'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000396925s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000230906s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000372221s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000238216s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000318466s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b22')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b22'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000373902s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"$or"=>[{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b23')}, {"name"=>"bhargav"}]}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b23'), "before_create_field"=>1, "after_create_field"=>0, "be...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00044585999999999996s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00023785s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000225584s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000290819s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b24')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b24'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000395913s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b24'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000395595s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5870d7cc421aa91311400b24')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"changed_...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000336573s
----------------------------------------
CoreExtTest: test_image_versioned_update
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000280436s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00028265299999999995s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b25')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b25'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.08518334999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5870d7cc421aa91311400b25')}, "u"=>{"$set"=>{"image"=>nil}, "$inc"=>{"version"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.001071209s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b25')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.0006113280000000001s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000435462s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0005606350000000001s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b26')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b26'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00060414s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b26')}, "u"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000556206s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b26')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000503274s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b26')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000450702s
-----------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_returns_a_mongoid_document
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00045432000000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000455658s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b27')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b27'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000762583s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b27')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005643950000000001s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00039305599999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000439378s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b28')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b28'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000562662s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b28')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail....
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000456058s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b28')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00042054s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b28')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00034572300000000004s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000321738s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000492757s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b29')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b29'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000584179s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b29')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000363602s
------------------------------------------------------------------------
CoreExtTest: test_bypass_versioning_gives_op_success_in_versioned_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000292963s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000415006s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b2a')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b2a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00048786s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b2a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00044048599999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b2a')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"updated name", "email"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00049202s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b2a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000263928s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b2a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00027881s
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000556946s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0005725159999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b2b')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b2b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.034075282s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b2b'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00073604s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b2b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000424035s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000358081s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00044330300000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b2c')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b2c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000670896s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b2c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.0005715970000000001s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000458064s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000503231s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b2d')}, "update"=>{"$set"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b2d'), "before_create_field"=>0, "after_create_field"=>0, "before_update_field"=>0, "after_update_...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000556719s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b2d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000542136s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00043445699999999996s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0005684980000000001s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b2e')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b2e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005952889999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5870d7cc421aa91311400b2e')}, "u"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000577567s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b2e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000482327s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b2e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000774261s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00042246600000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00040006400000000005s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b2f')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b2f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000463229s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5870d7cc421aa91311400b2f')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000676314s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b2f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000325325s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5870d7cc421aa91311400b2f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000330351s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000266385s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000381982s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000427507s
---------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_affect_all_docs_if_query_is_empty
---------------------------------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00081924s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000522905s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0862')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0862'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000738845s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0862')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00053391s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog"}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0007836620000000001s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00046104100000000003s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00038214900000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000482515s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0863')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0863'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000504236s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000323865s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0863')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000318727s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00027091999999999996s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000402604s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0864')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0864'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000495813s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0865')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0865'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00047866099999999996s
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000345142s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00036661800000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0866')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0866'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000463333s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0866'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00062182s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0866')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00032070000000000004s
---------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_with_set_on_insert
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00026384900000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00036822900000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0867')}, "update"=>{"$setOnInsert"=>{"name"=>"cat"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00041604500000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0867')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00029472s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000261764s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000359936s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0868')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0868'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00046224199999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0868')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail....
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000327524s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0868')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00046053399999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0868')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000378561s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000329479s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.088755411s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0869')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0869'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000873193s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0869')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000515996s
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000418598s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000552273s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d086a')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d086a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0006528899999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d086b')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d086b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000895322s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d086a')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0008466109999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d086a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00048043200000000004s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d086b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000420657s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000386547s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000542051s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d086c')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d086c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000633924s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('588b80f4421aa9416b9d086c')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000785937s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d086c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.0004991419999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d086c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000547832s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000464651s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.001012798s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d086d')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d086d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0010533s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000413342s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000499769s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d086e')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d086e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00056683s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('588b80f4421aa9416b9d086e')}, "u"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0007822479999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d086e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000461318s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d086e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.0004990039999999999s
---------------------------------------------------------------
CoreExtTest: test_versioned_create_when_document_already_exists
---------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00032648199999999995s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.024197513s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d086f')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d086f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000686934s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"bhargav.r.raut@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0870'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000914455s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000592651s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0005910679999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0871')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0871'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000672753s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0871'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0007334630000000001s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('588b80f4421aa9416b9d0871')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"changed_...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00065745s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00038290000000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000564171s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000526771s
------------------------------------------------------------------------
CoreExtTest: test_bypass_versioning_gives_op_success_in_versioned_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000401163s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000496656s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0872')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0872'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00063757s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0872')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000447127s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0872')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"updated name", "email"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000581543s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0872')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000598037s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0872')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000561153s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000390021s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000517766s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0873')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0873'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000640726s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0873')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00049178s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000351837s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.011715283s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0874')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0874'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0006423059999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"$or"=>[{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0875')}, {"name"=>"bhargav"}]}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0875'), "before_create_field"=>1, "after_create_field"=>0, "be...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000686439s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000391331s
-----------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_returns_a_mongoid_document
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000285891s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000401669s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0876')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0876'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005490530000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0876')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000523586s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000309652s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000377988s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0877')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0877'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000500553s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0878')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0878'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00046473799999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0877')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0879'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00041411700000000003s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00035265199999999996s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000409249s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000292641s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000410873s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d087a')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d087a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000645301s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d087a')}, "u"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0006818470000000001s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d087a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000522256s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d087a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.0005223410000000001s
----------------------------------------
CoreExtTest: test_image_versioned_update
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00045594499999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00047700499999999996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d087b')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d087b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000887663s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('588b80f4421aa9416b9d087b')}, "u"=>{"$set"=>{"image"=>#<Paperclip::Attachment:0x000000044dbfa8 @name=:image, @name_string="image", @instance=#<User _id: 588b80f4421aa9416b9d087...
MONGODB | localhost:27017 | dummy_test.update | FAILED | undefined method `bson_type' for #<Paperclip::Attachment:0x000000044dbfa8> | 0.000269316s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000524589s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.030952725s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d087c')}, "update"=>{"$set"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d087c'), "before_create_field"=>0, "after_create_field"=>0, "before_update_field"=>0, "after_update_...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0008907979999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d087c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000614414s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000456697s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0006271009999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d087d')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d087d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0008004710000000001s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('588b80f4421aa9416b9d087d')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>0, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0008359159999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d087d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.0005241029999999999s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000481419s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000614437s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d087e')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d087e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000729871s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('588b80f4421aa9416b9d087e')}, "u"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000859608s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d087e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.0006808060000000001s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d087e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000592576s
---------------------------------------
CoreExtTest: test_cross_model_callbacks
---------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000412571s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0005516830000000001s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"things", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d087f')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d087f'), "entries"=>{}, "version"=>1}}, "multi"=>false, "upsert"=>true}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.013343204s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"entries", "documents"=>[{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d0880'), "parent_thing_id"=>BSON::ObjectId('588b80f4421aa9416b9d087f')}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.029819777999999998s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"things", "query"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d087f')}, "update"=>{"$set"=>{"entries.588b80f4421aa9416b9d0880"=>1485537524}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000643407s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"things", "filter"=>{"_id"=>BSON::ObjectId('588b80f4421aa9416b9d087f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000394004s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000490268s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000306141s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7840')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7840'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00042811499999999996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('588b857e421aa942f44c7840')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00038770899999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7840')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00024345600000000002s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000172274s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000232693s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7841')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7841'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000293443s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7841'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00036416300000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('588b857e421aa942f44c7841')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"changed_...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000295052s
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000168608s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000204711s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7842')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7842'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00027770700000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7842'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00032147800000000004s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7842')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000194739s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000173249s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000219078s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7843')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7843'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00031267199999999995s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7844')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7844'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000542407s
---------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_affect_all_docs_if_query_is_empty
---------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000320067s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00038999099999999996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7845')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7845'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005590279999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7845')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000265862s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog"}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00034083700000000003s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00017777800000000002s
---------------------------------------------------------------
CoreExtTest: test_versioned_create_when_document_already_exists
---------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00016196100000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000250819s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7846')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7846'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000326395s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"bhargav.r.raut@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7847'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000378682s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00019496900000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00026870999999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7848')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7848'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000299597s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7848')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000290688s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000217087s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00030108800000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7849')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7849'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00037251200000000003s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00024000800000000002s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7849')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000244309s
---------------------------------------
CoreExtTest: test_cross_model_callbacks
---------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00020787899999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000273446s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"things", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c784a')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c784a'), "entries"=>{}, "version"=>1}}, "multi"=>false, "upsert"=>true}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000517448s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"entries", "documents"=>[{"_id"=>BSON::ObjectId('588b857e421aa942f44c784b'), "parent_thing_id"=>BSON::ObjectId('588b857e421aa942f44c784a')}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000365875s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"things", "query"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c784a')}, "update"=>{"$set"=>{"entries.588b857e421aa942f44c784b"=>1485538686}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00030446900000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"things", "filter"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c784a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000359242s
----------------------------------------
CoreExtTest: test_image_versioned_update
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000340756s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000327993s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c784c')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c784c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.020318031s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('588b857e421aa942f44c784c')}, "u"=>{"$set"=>{"image"=>#<Paperclip::Attachment:0x00000004dedfb0 @name=:image, @name_string="image", @instance=#<User _id: 588b857e421aa942f44c784...
MONGODB | localhost:27017 | dummy_test.update | FAILED | undefined method `bson_type' for #<Paperclip::Attachment:0x00000004dedfb0> | 0.000272748s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000464056s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000551274s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c784d')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c784d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000563942s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('588b857e421aa942f44c784d')}, "u"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000505671s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c784d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000340408s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c784d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000407402s
-----------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_returns_a_mongoid_document
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000270682s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000338369s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c784e')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c784e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000463705s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c784e')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000480411s
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000325758s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000325404s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c784f')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c784f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000393632s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7850')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7850'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00040874s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c784f')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00041452300000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c784f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000307406s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7850')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000264825s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00022954899999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000322566s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7851')}, "update"=>{"$set"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7851'), "before_create_field"=>0, "after_create_field"=>0, "before_update_field"=>0, "after_update_...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000487735s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7851')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00032161900000000004s
------------------------------------------------------------------------
CoreExtTest: test_bypass_versioning_gives_op_success_in_versioned_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000279415s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00033478399999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7852')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7852'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000452649s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7852')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000474783s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7852')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"updated name", "email"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005039560000000001s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7852')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000375476s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7852')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00035817900000000003s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000328602s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000418212s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00038944999999999995s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00027764s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000390119s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7853')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7853'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005077170000000001s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('588b857e421aa942f44c7853')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000636528s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7853')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000357396s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7853')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000332124s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000302305s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000470771s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7854')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7854'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00039844800000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('588b857e421aa942f44c7854')}, "u"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000541695s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7854')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.0005610159999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7854')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000617257s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0005296319999999999s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000447649s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7855')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7855'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.025933364s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000451401s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000362872s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7856')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7856'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000477639s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7856')}, "u"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000363178s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7856')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000336133s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7856')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000325962s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00028594199999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000350311s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7857')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7857'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000613487s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7857')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00049868s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000469751s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000372343s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7858')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7858'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000485688s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7858')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail....
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0004411s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7858')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000341392s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7858')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000274809s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00023268s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000308526s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7859')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7859'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000468592s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c785a')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c785a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000478799s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c7859')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c785b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000476769s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000278568s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000368758s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000269039s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000388199s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c785c')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c785c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000516252s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"$or"=>[{"_id"=>BSON::ObjectId('588b857e421aa942f44c785d')}, {"name"=>"bhargav"}]}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c785d'), "before_create_field"=>1, "after_create_field"=>0, "be...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0006130669999999999s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00028481700000000003s
---------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_with_set_on_insert
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000248184s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00037261s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c785e')}, "update"=>{"$setOnInsert"=>{"name"=>"cat"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000474103s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b857e421aa942f44c785e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00028991799999999996s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000573204s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00038155599999999996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564b2')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564b2'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000531862s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"$or"=>[{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564b3')}, {"name"=>"bhargav"}]}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564b3'), "before_create_field"=>1, "after_create_field"=>0, "be...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00047559599999999995s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000248078s
-----------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_returns_a_mongoid_document
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000168472s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000250192s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564b4')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564b4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000293134s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564b4')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00029385900000000005s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000188496s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000227817s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564b5')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564b5'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000336871s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564b5')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail....
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000313385s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564b5')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00027523s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564b5')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00027272099999999997s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000295192s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00033795499999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564b6')}, "update"=>{"$set"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564b6'), "before_create_field"=>0, "after_create_field"=>0, "before_update_field"=>0, "after_update_...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000419522s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564b6')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000298617s
---------------------------------------
CoreExtTest: test_cross_model_callbacks
---------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000285749s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000279901s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"things", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564b7')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564b7'), "entries"=>{}, "version"=>1}}, "multi"=>false, "upsert"=>true}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.06230415s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"entries", "documents"=>[{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564b8'), "parent_thing_id"=>BSON::ObjectId('588b86fd421aa943ac6564b7')}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000616353s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"things", "query"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564b7')}, "update"=>{"$set"=>{"entries.588b86fd421aa943ac6564b8"=>1485539069}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005311459999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"things", "filter"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564b7')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000409725s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00044577699999999996s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000525882s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564b9')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564b9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0006929939999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564b9')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000448365s
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000345364s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00046546799999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564ba')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564ba'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000599025s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564bb')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564bb'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005523079999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564ba')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00039316599999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564ba')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000509603s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564bb')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000427984s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00046597s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000550994s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564bc')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564bc'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005816290000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564bc'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000576963s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('588b86fd421aa943ac6564bc')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"changed_...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000480082s
------------------------------------------------------------------------
CoreExtTest: test_bypass_versioning_gives_op_success_in_versioned_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000345713s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00039141s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564bd')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564bd'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000452709s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564bd')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00030882s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564bd')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"updated name", "email"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000431601s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564bd')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000306595s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564bd')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00029539000000000003s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000252853s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000338445s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564be')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564be'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00043280900000000004s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564bf')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564bf'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000369894s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000217204s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00032333599999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564c0')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564c0'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00038308600000000004s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564c1')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564c1'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000360628s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564c0')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564c2'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000340304s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000261242s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00048432799999999996s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000342387s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000453024s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564c3')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564c3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00057299s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000300787s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564c3')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00032449s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000266041s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000372465s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564c4')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564c4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000535297s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('588b86fd421aa943ac6564c4')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000667237s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564c4')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000433306s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00028477099999999996s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000387839s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000344377s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00025807799999999996s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000330915s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564c5')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564c5'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00045727s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564c5')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00032498300000000004s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000249985s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000327272s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564c6')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564c6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005504139999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('588b86fd421aa943ac6564c6')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00061061s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564c6')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00041310800000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564c6')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000338938s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000220789s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.013810661s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564c7')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564c7'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00047483700000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('588b86fd421aa943ac6564c7')}, "u"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00045678s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564c7')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00031236599999999996s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564c7')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000288926s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000237765s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000329501s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564c8')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564c8'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00040958700000000005s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('588b86fd421aa943ac6564c8')}, "u"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000433296s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564c8')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000339646s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564c8')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000473227s
---------------------------------------------------------------
CoreExtTest: test_versioned_create_when_document_already_exists
---------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00027098599999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000645555s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564c9')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564c9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000707552s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"bhargav.r.raut@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564ca'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005373709999999999s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000327264s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00041907s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564cb')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564cb'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000774568s
---------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_affect_all_docs_if_query_is_empty
---------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00039631700000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0007536929999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564cc')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564cc'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000641248s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564cc')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000492392s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog"}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000460265s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000272288s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000251537s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00039441599999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564cd')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564cd'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000529196s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564cd')}, "u"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000453274s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564cd')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000307197s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564cd')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000269188s
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000206288s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000301616s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564ce')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564ce'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00036608299999999996s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564ce'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000436162s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564ce')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000272967s
----------------------------------------
CoreExtTest: test_image_versioned_update
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000219001s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000281837s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564cf')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b86fd421aa943ac6564cf'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0006918019999999999s
---------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_with_set_on_insert
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000407036s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.10597374200000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('588b86fe421aa943ac6564d0')}, "update"=>{"$setOnInsert"=>{"name"=>"cat"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0009217089999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b86fe421aa943ac6564d0')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000565037s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000493794s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000347002s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8eb')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8eb'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000415197s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000203055s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8eb')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000214s
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00017253199999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000235679s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8ec')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8ec'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000288826s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8ed')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8ed'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000275192s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8ec')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000254301s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8ec')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00020513s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8ed')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00017322300000000002s
---------------------------------------------------------------
CoreExtTest: test_versioned_create_when_document_already_exists
---------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000153127s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00022599000000000002s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8ee')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8ee'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000295692s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"bhargav.r.raut@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8ef'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00027392s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000195061s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000215097s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8f0')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8f0'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000398446s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8f0')}, "u"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000510824s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8f0')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000467326s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8f0')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000466372s
------------------------------------------------------------------------
CoreExtTest: test_bypass_versioning_gives_op_success_in_versioned_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00029310400000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00038604s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8f1')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8f1'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005141680000000001s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8f1')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00031891099999999996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8f1')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"updated name", "email"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000427507s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8f1')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000302065s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8f1')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000279464s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000245789s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000396766s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8f2')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8f2'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000442545s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('588b871b421aa943dcb5c8f2')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000581562s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8f2')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000303809s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00025173299999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00038446700000000004s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8f3')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8f3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000444718s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8f3')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail....
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000390012s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8f3')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000285257s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8f3')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00019028600000000001s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00024397499999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000357375s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8f4')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8f4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00043597300000000004s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8f4')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000292845s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000239247s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000346805s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8f5')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8f5'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000437453s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8f6')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8f6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000279802s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00019325699999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000247807s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8f7')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8f7'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000621122s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('588b871b421aa943dcb5c8f7')}, "u"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000987756s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8f7')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00043419s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8f7')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00022407900000000002s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000291123s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000410698s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8f8')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8f8'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000440304s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8f8'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005713869999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('588b871b421aa943dcb5c8f8')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"changed_...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000521577s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000258104s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000345648s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8f9')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8f9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000438729s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8f9')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00029860199999999997s
-----------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_returns_a_mongoid_document
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000246742s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00036246200000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8fa')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8fa'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000446468s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8fa')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00035058599999999995s
----------------------------------------
CoreExtTest: test_image_versioned_update
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000200684s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000257489s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8fb')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8fb'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.066450268s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('588b871b421aa943dcb5c8fb')}, "u"=>{"$set"=>{"image_file_name"=>"keratoscope.jpg", "image_fingerprint"=>"ee7c3cdf8649e585fa6be4d3db954bf6", "image_content_type"=>"image/jpeg", ...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000930662s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8fb')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000545263s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00044316600000000005s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000440701s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8fc')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8fc'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005141820000000001s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('588b871b421aa943dcb5c8fc')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000569022s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8fc')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000330454s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8fc')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000365472s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000340373s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0003699s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8fd')}, "update"=>{"$set"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8fd'), "before_create_field"=>0, "after_create_field"=>0, "before_update_field"=>0, "after_update_...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000433449s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8fd')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00028869299999999997s
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000266002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000391232s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8fe')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8fe'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000435773s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8fe'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005254799999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8fe')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000288043s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00025198s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000386193s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8ff')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8ff'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00043191700000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('588b871b421aa943dcb5c8ff')}, "u"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000563463s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8ff')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.0005225410000000001s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c8ff')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000393599s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00038144300000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000649523s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c900')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c900'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000713788s
---------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_with_set_on_insert
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000374223s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000432027s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c901')}, "update"=>{"$setOnInsert"=>{"name"=>"cat"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000505742s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c901')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00033491900000000004s
---------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_affect_all_docs_if_query_is_empty
---------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00030236s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00033455999999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c902')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c902'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000531265s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c902')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000430249s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog"}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000582796s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000384364s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00042086099999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.019764205s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c903')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c903'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000630507s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"$or"=>[{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c904')}, {"name"=>"bhargav"}]}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b871b421aa943dcb5c904'), "before_create_field"=>1, "after_create_field"=>0, "be...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005534019999999999s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00028764s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000258322s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000374157s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b871c421aa943dcb5c905')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b871c421aa943dcb5c905'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005775709999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b871c421aa943dcb5c906')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b871c421aa943dcb5c906'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000654367s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b871c421aa943dcb5c905')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b871c421aa943dcb5c907'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000485546s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000276701s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000357146s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000279696s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000365626s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000375971s
---------------------------------------
CoreExtTest: test_cross_model_callbacks
---------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000259303s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00033048s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"things", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('588b871c421aa943dcb5c908')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('588b871c421aa943dcb5c908'), "entries"=>{}, "version"=>1}}, "multi"=>false, "upsert"=>true}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000613461s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"entries", "documents"=>[{"_id"=>BSON::ObjectId('588b871c421aa943dcb5c909'), "parent_thing_id"=>BSON::ObjectId('588b871c421aa943dcb5c908')}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000627878s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"things", "query"=>{"_id"=>BSON::ObjectId('588b871c421aa943dcb5c908')}, "update"=>{"$set"=>{"entries.588b871c421aa943dcb5c909"=>1485539100}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000528869s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"things", "filter"=>{"_id"=>BSON::ObjectId('588b871c421aa943dcb5c908')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000355854s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
-----------------------------------------------------------
CoreExtTest: test_versioned_create_should_return_doc_counts
-----------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.001217236s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000598663s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6625421aa9447e636e05')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6625421aa9447e636e05'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000718606s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
-----------------------------------------------------------
CoreExtTest: test_versioned_create_should_return_doc_counts
-----------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0008167890000000001s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0007966210000000001s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6941421aa945dadd537b')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6941421aa945dadd537b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005453890000000001s
-----------------------------------------------------------
CoreExtTest: test_versioned_create_should_return_doc_counts
-----------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000651219s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000507696s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6977421aa945fe7c65a5')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6977421aa945fe7c65a5'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00058791s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
-----------------------------------------------------------
CoreExtTest: test_versioned_create_should_return_doc_counts
-----------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000577379s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000420023s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e698f421aa94615cf828b')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e698f421aa94615cf828b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000486817s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
-----------------------------------------------------------
CoreExtTest: test_versioned_create_should_return_doc_counts
-----------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0011881049999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000589976s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6a3b421aa94665412a93')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6a3b421aa94665412a93'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000776067s
-----------------------------------------------------------------------------------
CoreExtTest: test_versioned_create_should_return_matched_count_as_one_if_doc_exists
-----------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00038745500000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000456415s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6a3b421aa94665412a94')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6a3b421aa94665412a94'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005976250000000001s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"rrphotosoft@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6a3b421aa94665412a95'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000559965s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
---------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_affect_all_docs_if_query_is_empty
---------------------------------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.001039673s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000600089s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6a73421aa946b0ad6dff')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6a73421aa946b0ad6dff'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000662886s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6a73421aa946b0ad6dff')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000499215s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog"}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000509822s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000357804s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00038246600000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000499871s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6a73421aa946b0ad6e00')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6a73421aa946b0ad6e00'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00046731699999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6a73421aa946b0ad6e00')}, "u"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000471531s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6a73421aa946b0ad6e00')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000265173s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6a73421aa946b0ad6e00')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000350234s
-----------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_returns_a_mongoid_document
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00043414500000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0005703080000000001s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6a73421aa946b0ad6e01')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6a73421aa946b0ad6e01'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0006187019999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('589e6a73421aa946b0ad6e01')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000753901s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000420179s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000504843s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6a73421aa946b0ad6e02')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6a73421aa946b0ad6e02'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000600292s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6a73421aa946b0ad6e03')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6a73421aa946b0ad6e03'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005282609999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6a73421aa946b0ad6e02')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6a73421aa946b0ad6e04'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000393525s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00040092s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000485302s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00038975100000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000364306s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6a73421aa946b0ad6e05')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6a73421aa946b0ad6e05'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000426114s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6a73421aa946b0ad6e06')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6a73421aa946b0ad6e06'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005614839999999999s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00041083600000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000457847s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6a73421aa946b0ad6e07')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6a73421aa946b0ad6e07'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000392693s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6a73421aa946b0ad6e07')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000460201s
---------------------------------------------------------------
CoreExtTest: test_versioned_create_when_document_already_exists
---------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000402792s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.020225441s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e08')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e08'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000641534s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"bhargav.r.raut@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e09'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000552148s
---------------------------------------
CoreExtTest: test_cross_model_callbacks
---------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000333271s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000450119s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"things", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e0a')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e0a'), "entries"=>{}, "version"=>1}}, "multi"=>false, "upsert"=>true}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.029840376s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"entries", "documents"=>[{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e0b'), "parent_thing_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e0a')}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.058487557s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"things", "query"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e0a')}, "update"=>{"$set"=>{"entries.589e6a74421aa946b0ad6e0b"=>1486776948}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0007458409999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"things", "filter"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e0a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000481698s
-----------------------------------------------------------------------------------
CoreExtTest: test_versioned_create_should_return_matched_count_as_one_if_doc_exists
-----------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000470101s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000543509s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e0c')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e0c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000742622s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"rrphotosoft@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e0d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000558414s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000526883s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000506558s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e0e')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e0e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00077404s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000510718s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e0e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000519517s
---------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_with_set_on_insert
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000450913s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000533616s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e0f')}, "update"=>{"$setOnInsert"=>{"name"=>"cat"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000563096s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e0f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000478892s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00042063699999999996s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000514786s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e10')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e10'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0007154689999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e10')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000885992s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e10')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000354093s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e10')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000322164s
----------------------------------------
CoreExtTest: test_image_versioned_update
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000281796s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00041390999999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e11')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e11'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.008361625s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e11')}, "u"=>{"$set"=>{"image_file_name"=>"keratoscope.jpg", "image_fingerprint"=>"ee7c3cdf8649e585fa6be4d3db954bf6", "image_content_type"=>"image/jpeg", ...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.001319633s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e11')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.0005639149999999999s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000759251s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000790009s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e12')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e12'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000568643s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e12')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000462371s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000308833s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00041954400000000005s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e13')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e13'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000598581s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e13')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000614437s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e13')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000426057s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000406216s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00042439699999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e14')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e14'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000543027s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e14')}, "u"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000555171s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e14')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000363984s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e14')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000366453s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000346166s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.037024716s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e15')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e15'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000980654s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e15')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail....
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005764959999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e15')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000518709s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e15')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000389354s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000325531s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000421731s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e16')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e16'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005715070000000001s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e16')}, "u"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000570188s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e16')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000355328s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e16')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00039810800000000004s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000298278s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00037162699999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e17')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e17'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000574167s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"$or"=>[{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e18')}, {"name"=>"bhargav"}]}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e18'), "before_create_field"=>1, "after_create_field"=>0, "be...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005659170000000001s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000379327s
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000514446s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0006483530000000001s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e19')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e19'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000968424s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e19'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0008197329999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e19')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000617926s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000490605s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000637072s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e1a')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e1a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000624755s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e1a'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000686128s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e1a')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"changed_...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00068268s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000451381s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000477501s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e1b')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e1b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000992091s
-----------------------------------------------------------
CoreExtTest: test_versioned_create_should_return_doc_counts
-----------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000363706s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00047372399999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e1c')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e1c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0004952369999999999s
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000309089s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000436571s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e1d')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e1d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005168210000000001s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e1e')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e1e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00046110199999999996s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e1d')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000475141s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e1d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.0005349759999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e1e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.0005772479999999999s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000501741s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.009635437s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e1f')}, "update"=>{"$set"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e1f'), "before_create_field"=>0, "after_create_field"=>0, "before_update_field"=>0, "after_update_...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000501123s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e1f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00028571900000000003s
------------------------------------------------------------------------
CoreExtTest: test_bypass_versioning_gives_op_success_in_versioned_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000238187s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00032491s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e20')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e20'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000397489s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e20')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000320106s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e20')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"updated name", "email"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000426366s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e20')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000282625s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6a74421aa946b0ad6e20')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000336649s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000257461s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000342154s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000617674s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
---------------------------------------------------------------
CoreExtTest: test_versioned_create_when_document_already_exists
---------------------------------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00044008999999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000292128s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0b3')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0b3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00046133599999999996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"bhargav.r.raut@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0b4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00035125200000000003s
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000205989s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000228896s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0b5')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0b5'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000284681s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0b6')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0b6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000282652s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0b5')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00025590599999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0b5')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000222353s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0b6')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000184134s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00016751399999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000229511s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0b7')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0b7'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00032051s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0b7')}, "u"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00037504199999999996s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0b7')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000259619s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0b7')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00033994900000000003s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000247634s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000389749s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0b8')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0b8'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000388904s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0b8')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000218696s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00021229200000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000294793s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0b9')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0b9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.018907747s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('589e6c51421aa9471141b0b9')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000691127s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0b9')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000542243s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0b9')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000340629s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000350094s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00047475299999999996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0ba')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0ba'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000661805s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0ba')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000354473s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000293646s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00032349s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0bb')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0bb'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000431485s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00026764199999999996s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0bb')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00027422599999999997s
----------------------------------------
CoreExtTest: test_image_versioned_update
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000216771s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000326755s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0bc')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0bc'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000688908s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('589e6c51421aa9471141b0bc')}, "u"=>{"$set"=>{"image_file_name"=>"keratoscope.jpg", "image_fingerprint"=>"ee7c3cdf8649e585fa6be4d3db954bf6", "image_content_type"=>"image/jpeg", ...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.001002811s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0bc')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00042535s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000388041s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000449819s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000263141s
------------------------------------------------------------------------
CoreExtTest: test_bypass_versioning_gives_op_success_in_versioned_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000425208s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00042097500000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0bd')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0bd'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005641040000000001s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0bd')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000401448s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0bd')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"updated name", "email"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000401217s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0bd')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00024068800000000002s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0bd')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000229535s
---------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_affect_all_docs_if_query_is_empty
---------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00023399800000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00028690599999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0be')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0be'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00033577s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0be')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00024244s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog"}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000357443s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000176141s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000169693s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000318831s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0bf')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0bf'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00032775400000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"$or"=>[{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0c0')}, {"name"=>"bhargav"}]}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0c0'), "before_create_field"=>1, "after_create_field"=>0, "be...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000379662s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000191904s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000173081s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000246709s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0c1')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0c1'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000328789s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0c1')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail....
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00033697100000000004s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0c1')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000228414s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0c1')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00021386700000000002s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000177968s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000252891s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0c2')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0c2'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00032324000000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0c3')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0c3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00031457s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0c2')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0c4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00030282599999999996s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000164965s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000247286s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00016925300000000001s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.041799039s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0c5')}, "update"=>{"$set"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0c5'), "before_create_field"=>0, "after_create_field"=>0, "before_update_field"=>0, "after_update_...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000746418s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0c5')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00052662s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000465293s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00055449s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0c6')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0c6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00056735s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('589e6c51421aa9471141b0c6')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000724264s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0c6')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000374789s
-----------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_returns_a_mongoid_document
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00035816799999999996s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00039048399999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0c7')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0c7'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00044218s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0c7')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000468406s
-----------------------------------------------------------------------------------
CoreExtTest: test_versioned_create_should_return_matched_count_as_one_if_doc_exists
-----------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000337812s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000358249s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0c8')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0c8'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000496712s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"rrphotosoft@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0c9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000459341s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00046836800000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000410809s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0ca')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0ca'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000748424s
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000414073s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00036376599999999996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0cb')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0cb'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000490571s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0cb'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000515446s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0cb')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00033103900000000004s
---------------------------------------
CoreExtTest: test_cross_model_callbacks
---------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000314772s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00042384000000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"things", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0cc')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0cc'), "entries"=>{}, "version"=>1}}, "multi"=>false, "upsert"=>true}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005863810000000001s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"entries", "documents"=>[{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0cd'), "parent_thing_id"=>BSON::ObjectId('589e6c51421aa9471141b0cc')}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00047351399999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"things", "query"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0cc')}, "update"=>{"$set"=>{"entries.589e6c51421aa9471141b0cd"=>1486777425}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000342102s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"things", "filter"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0cc')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000302648s
-----------------------------------------------------------
CoreExtTest: test_versioned_create_should_return_doc_counts
-----------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000197958s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00023549499999999998s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0ce')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0ce'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000346918s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000193222s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000310718s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0cf')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0cf'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00042677s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0cf'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000510177s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('589e6c51421aa9471141b0cf')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"changed_...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000468386s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000284283s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000329239s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0d0')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0d0'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000351599s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('589e6c51421aa9471141b0d0')}, "u"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000400376s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0d0')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00034639199999999995s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0d0')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000371749s
---------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_with_set_on_insert
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000473318s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000672394s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0d1')}, "update"=>{"$setOnInsert"=>{"name"=>"cat"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000717179s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0d1')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000430243s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000323062s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0059495s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0d2')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0d2'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000450483s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('589e6c51421aa9471141b0d2')}, "u"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005002510000000001s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0d2')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000408905s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0d2')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000395796s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000390517s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000486929s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0d3')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0d3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00053087s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0d4')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c51421aa9471141b0d4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00054153s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | Adding localhost:27017 to the cluster.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000549625s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000351698s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c60421aa9473519490a')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c60421aa9473519490a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00041756299999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6c60421aa9473519490a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000284794s
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000237187s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000307986s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c60421aa9473519490b')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c60421aa9473519490b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000340299s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('589e6c60421aa9473519490b'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000439728s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6c60421aa9473519490b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000217393s
---------------------------------------
CoreExtTest: test_cross_model_callbacks
---------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000230247s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00022634s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"things", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c60421aa9473519490c')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c60421aa9473519490c'), "entries"=>{}, "version"=>1}}, "multi"=>false, "upsert"=>true}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000486678s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"entries", "documents"=>[{"_id"=>BSON::ObjectId('589e6c60421aa9473519490d'), "parent_thing_id"=>BSON::ObjectId('589e6c60421aa9473519490c')}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000397258s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"things", "query"=>{"_id"=>BSON::ObjectId('589e6c60421aa9473519490c')}, "update"=>{"$set"=>{"entries.589e6c60421aa9473519490d"=>1486777440}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00039565000000000005s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"things", "filter"=>{"_id"=>BSON::ObjectId('589e6c60421aa9473519490c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00026874200000000004s
---------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_with_set_on_insert
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00026083499999999995s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00021255999999999998s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('589e6c60421aa9473519490e')}, "update"=>{"$setOnInsert"=>{"name"=>"cat"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00025106499999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6c60421aa9473519490e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000187821s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00013512799999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00027882099999999995s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c60421aa9473519490f')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c60421aa9473519490f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.146561247s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000714183s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0006710850000000001s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194910')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194910'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0008868810000000001s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('589e6c60421aa94735194910')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000952024s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194910')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000570991s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194910')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000537811s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000559331s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000565289s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194911')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194911'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0006085649999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('589e6c60421aa94735194911')}, "u"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000659591s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194911')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000407877s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194911')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000397829s
---------------------------------------------------------------
CoreExtTest: test_versioned_create_when_document_already_exists
---------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00045773300000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000709786s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194912')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194912'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000734802s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"bhargav.r.raut@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194913'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000705585s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00033179s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000414238s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194914')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194914'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005263770000000001s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194915')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194915'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00052927s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194914')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194916'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00046574100000000004s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000381467s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00040238299999999997s
-----------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_returns_a_mongoid_document
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00031152s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00041378899999999996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194917')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194917'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000524192s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194917')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00047629599999999997s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00044926099999999995s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000382512s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194918')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194918'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00048792700000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"$or"=>[{"_id"=>BSON::ObjectId('589e6c60421aa94735194919')}, {"name"=>"bhargav"}]}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194919'), "before_create_field"=>1, "after_create_field"=>0, "be...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000559317s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000346677s
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000452155s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0005681519999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c60421aa9473519491a')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c60421aa9473519491a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000712629s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c60421aa9473519491b')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c60421aa9473519491b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000641451s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('589e6c60421aa9473519491a')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000458987s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6c60421aa9473519491a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000330828s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6c60421aa9473519491b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000309362s
---------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_affect_all_docs_if_query_is_empty
---------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000283591s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000468796s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c60421aa9473519491c')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c60421aa9473519491c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000483966s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6c60421aa9473519491c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000367224s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog"}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00047272000000000004s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00033992699999999996s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000257365s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000358659s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c60421aa9473519491d')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c60421aa9473519491d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000500476s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6c60421aa9473519491d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000324601s
------------------------------------------------------------------------
CoreExtTest: test_bypass_versioning_gives_op_success_in_versioned_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0002668s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000384406s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c60421aa9473519491e')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c60421aa9473519491e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000471759s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6c60421aa9473519491e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00036113s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c60421aa9473519491e')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"updated name", "email"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00044949300000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6c60421aa9473519491e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000345818s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6c60421aa9473519491e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000275759s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000328634s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.017786767000000002s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c60421aa9473519491f')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c60421aa9473519491f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0006006130000000001s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c60421aa9473519491f')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail....
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00051359s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6c60421aa9473519491f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000381151s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6c60421aa9473519491f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000415434s
----------------------------------------
CoreExtTest: test_image_versioned_update
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000334045s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000415452s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194920')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194920'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000929423s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('589e6c60421aa94735194920')}, "u"=>{"$set"=>{"image_file_name"=>"keratoscope.jpg", "image_fingerprint"=>"ee7c3cdf8649e585fa6be4d3db954bf6", "image_content_type"=>"image/jpeg", ...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0012534150000000001s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194920')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00053879s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000475221s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0005028270000000001s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194921')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194921'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000560957s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000359763s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194921')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00034993899999999996s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000324894s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00037095s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000382549s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00038688000000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000476511s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194922')}, "update"=>{"$set"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194922'), "before_create_field"=>0, "after_create_field"=>0, "before_update_field"=>0, "after_update_...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000562054s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194922')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000509197s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00037857499999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000495455s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194923')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194923'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005731380000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194923'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000649373s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('589e6c60421aa94735194923')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"changed_...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0006078160000000001s
-----------------------------------------------------------
CoreExtTest: test_versioned_create_should_return_doc_counts
-----------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00036429999999999996s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000471325s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194924')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194924'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000500832s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000300617s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000387957s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194925')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194925'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.008279052s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('589e6c60421aa94735194925')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0006338580000000001s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194925')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00036385700000000004s
-----------------------------------------------------------------------------------
CoreExtTest: test_versioned_create_should_return_matched_count_as_one_if_doc_exists
-----------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000327806s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000472655s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194926')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194926'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0006015809999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"rrphotosoft@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194927'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00063024s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000437852s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0005548339999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194928')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194928'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00050167s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('589e6c60421aa94735194928')}, "u"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000547759s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194928')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000368728s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194928')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000324125s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00029964900000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00038823199999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194929')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194929'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000499895s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194929')}, "u"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000405532s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194929')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000336134s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('589e6c60421aa94735194929')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000322104s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000298208s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00034839699999999996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c60421aa9473519492a')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c60421aa9473519492a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00042172499999999996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('589e6c60421aa9473519492b')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('589e6c60421aa9473519492b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00040506s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | Topology type 'unknown' initializing.
MONGODB | Server localhost:27017 initializing.
MONGODB | Topology type 'unknown' changed to type 'single'.
MONGODB | Server description for localhost:27017 changed from 'unknown' to 'standalone'.
MONGODB | There was a change in the members of the 'single' topology.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.001240029s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000540069s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcdf')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcdf'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000787733s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcdf'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000824097s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcdf')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000535485s
---------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_with_set_on_insert
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000317062s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00040885199999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbce0')}, "update"=>{"$setOnInsert"=>{"name"=>"cat"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000450235s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbce0')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00031250699999999995s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00025165s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00038085699999999996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbce1')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbce1'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00048639s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbce1')}, "u"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00043543s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbce1')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000341849s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbce1')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000312646s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00024600800000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00037887s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbce2')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbce2'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000443496s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbce2'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005539270000000001s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbce2')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"changed_...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00046575399999999997s
----------------------------------------
CoreExtTest: test_image_versioned_update
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00023895199999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000353042s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbce3')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbce3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000732802s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbce3')}, "u"=>{"$set"=>{"image_file_name"=>"keratoscope.jpg", "image_fingerprint"=>"ee7c3cdf8649e585fa6be4d3db954bf6", "image_content_type"=>"image/jpeg", ...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.020083304s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbce3')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000518249s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000570386s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0006483169999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbce4')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbce4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0007227609999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbce4')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail....
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000618503s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbce4')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000583794s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbce4')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.0006311839999999999s
---------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_affect_all_docs_if_query_is_empty
---------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000490338s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000625739s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbce5')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbce5'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000695186s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbce5')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000452273s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog"}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0005851729999999999s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000471066s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000454237s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000530127s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbce6')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbce6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.029061667s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbce6')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.0005551180000000001s
-----------------------------------------------------------
CoreExtTest: test_versioned_create_should_return_doc_counts
-----------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000588388s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000703276s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbce7')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbce7'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00097175s
-------------------------------------------------------------
CoreExtTest: test_after_callbacks_should_not_fire_if_op_fails
-------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000507559s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000555927s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbce8')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbce8'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000631304s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"god@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbce9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000571107s
---------------------------------------------------------------
CoreExtTest: test_versioned_create_when_document_already_exists
---------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000410871s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00044866599999999996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcea')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcea'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000483255s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"bhargav.r.raut@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbceb'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000462931s
-----------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_returns_a_mongoid_document
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00027098599999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00033271399999999996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcec')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcec'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00040469000000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcec')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00043038099999999997s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00036319099999999996s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0005207429999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbced')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbced'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0006738579999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbced')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000900269s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbced')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00041649300000000004s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000371286s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000455835s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcee')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcee'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000478732s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcee')}, "u"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0006412799999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcee')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000388614s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcee')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00042100600000000003s
---------------------------------------
CoreExtTest: test_cross_model_callbacks
---------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000353632s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000364481s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"things", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcef')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcef'), "entries"=>{}, "version"=>1}}, "multi"=>false, "upsert"=>true}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.016019815s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"entries", "documents"=>[{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcf0'), "parent_thing_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcef')}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.021540617s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"things", "query"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcef')}, "update"=>{"$set"=>{"entries.5a61c2e7421aa94fa5fbbcf0"=>1516356327}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000679666s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"things", "filter"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcef')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000451717s
-----------------------------------------------------------------------------------
CoreExtTest: test_versioned_create_should_return_matched_count_as_one_if_doc_exists
-----------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000438085s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00058723s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcf1')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcf1'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.001092591s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"rrphotosoft@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcf2'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000691424s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000412214s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000557559s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcf3')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcf3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005779639999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcf3')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000670623s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcf3')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000472852s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcf3')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000505064s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000315463s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000434128s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcf4')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcf4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000609637s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"$or"=>[{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcf5')}, {"name"=>"bhargav"}]}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcf5'), "before_create_field"=>1, "after_create_field"=>0, "be...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000736309s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000365116s
------------------------------------------------------------------------
CoreExtTest: test_bypass_versioning_gives_op_success_in_versioned_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000390527s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0005346960000000001s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcf6')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcf6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000649232s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcf6')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000625902s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcf6')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"updated name", "email"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000589129s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcf6')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000355334s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcf6')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000318382s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000290131s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000417032s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcf7')}, "update"=>{"$set"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcf7'), "before_create_field"=>0, "after_create_field"=>0, "before_update_field"=>0, "after_update_...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000513522s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcf7')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000329807s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000238684s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000390741s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcf8')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcf8'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000868925s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000449992s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0005166659999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcf9')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcf9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000539424s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00036699300000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcf9')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000416668s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000310794s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00044686s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcfa')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcfa'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000509088s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcfa')}, "u"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000551297s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcfa')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00036227899999999996s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcfa')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00043769299999999996s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000349959s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0005955320000000001s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00039228799999999997s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000262368s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000375908s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcfb')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcfb'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000565423s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcfb')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000364676s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000301755s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000351288s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcfc')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcfc'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000662982s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcfd')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcfd'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00091993s
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000435125s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000480609s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcfe')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcfe'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000588373s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcff')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcff'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00055491s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcfe')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000462942s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcfe')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000397596s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbcff')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000389837s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00027954900000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00046907299999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbd00')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbd00'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00052423s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbd01')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbd01'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0004969449999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbd00')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c2e7421aa94fa5fbbd02'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000399365s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00030117400000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000320722s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | Topology type 'unknown' initializing.
MONGODB | Server localhost:27017 initializing.
MONGODB | Topology type 'unknown' changed to type 'single'.
MONGODB | Server description for localhost:27017 changed from 'unknown' to 'standalone'.
MONGODB | There was a change in the members of the 'single' topology.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000793882s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000523041s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b3f0')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b3f0'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000536033s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c327421aa94fcad4b3f0')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000462459s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b3f0')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000306606s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b3f0')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000304354s
-----------------------------------------------------------------------------------
CoreExtTest: test_versioned_create_should_return_matched_count_as_one_if_doc_exists
-----------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000258546s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000347148s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b3f1')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b3f1'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000383058s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"rrphotosoft@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b3f2'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000376738s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000204033s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000280339s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b3f3')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b3f3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000322537s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b3f3')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail....
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000345989s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b3f3')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000307963s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b3f3')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000262576s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00019296s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000305764s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b3f4')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b3f4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000327863s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b3f4')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00030736s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000235364s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00026591399999999996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b3f5')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b3f5'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00031811s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b3f5'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00035052s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c327421aa94fcad4b3f5')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"changed_...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00026600500000000004s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000166324s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00022132899999999998s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b3f6')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b3f6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000308462s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"$or"=>[{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b3f7')}, {"name"=>"bhargav"}]}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b3f7'), "before_create_field"=>1, "after_create_field"=>0, "be...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000621574s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00028628599999999996s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000251464s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000521913s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000319846s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000230526s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000299939s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b3f8')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b3f8'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000382114s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000204465s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b3f8')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000232298s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000217267s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00026296699999999996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b3f9')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b3f9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000341205s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b3f9')}, "u"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000281146s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b3f9')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000217127s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b3f9')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000185098s
---------------------------------------------------------------
CoreExtTest: test_versioned_create_when_document_already_exists
---------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000153832s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000219105s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b3fa')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b3fa'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000279698s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"bhargav.r.raut@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b3fb'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000277348s
-----------------------------------------------------------
CoreExtTest: test_versioned_create_should_return_doc_counts
-----------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00016604s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00022191s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b3fc')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b3fc'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000458388s
---------------------------------------
CoreExtTest: test_cross_model_callbacks
---------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000314885s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000442124s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"things", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b3fd')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b3fd'), "entries"=>{}, "version"=>1}}, "multi"=>false, "upsert"=>true}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.022786678s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"entries", "documents"=>[{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b3fe'), "parent_thing_id"=>BSON::ObjectId('5a61c327421aa94fcad4b3fd')}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000543643s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"things", "query"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b3fd')}, "update"=>{"$set"=>{"entries.5a61c327421aa94fcad4b3fe"=>1516356391}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00050283s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"things", "filter"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b3fd')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000359135s
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000251939s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000339989s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b3ff')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b3ff'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000420681s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b3ff'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000501006s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b3ff')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000307413s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000260579s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000332862s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b400')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b400'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000382063s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b400')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000240688s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00018876s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00023647000000000002s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b401')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b401'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0009841420000000001s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000314446s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000364016s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b402')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b402'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000383177s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b403')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b403'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000332492s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b402')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b404'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00030831s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000283827s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000329645s
-------------------------------------------------------------
CoreExtTest: test_after_callbacks_should_not_fire_if_op_fails
-------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000166491s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000204107s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b405')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b405'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000286489s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"god@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b406'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000283829s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00018118s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000233705s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b407')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b407'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00029743399999999996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c327421aa94fcad4b407')}, "u"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000397395s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b407')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000275017s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b407')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000159793s
----------------------------------------
CoreExtTest: test_image_versioned_update
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000128115s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000190508s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b408')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b408'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000697035s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c327421aa94fcad4b408')}, "u"=>{"$set"=>{"image_file_name"=>"keratoscope.jpg", "image_fingerprint"=>"ee7c3cdf8649e585fa6be4d3db954bf6", "image_content_type"=>"image/jpeg", ...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000649087s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b408')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000290644s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000341761s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000455085s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b409')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b409'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000636301s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c327421aa94fcad4b409')}, "u"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.07312878299999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b409')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00062134s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b409')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.0005563720000000001s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000510348s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000621797s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b40a')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b40a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000785449s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c327421aa94fcad4b40a')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000943524s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b40a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000556522s
-----------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_returns_a_mongoid_document
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000469081s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00058831s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b40b')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b40b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000675859s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b40b')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000606832s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000433327s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000602536s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b40c')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b40c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000965165s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b40d')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b40d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0006130790000000001s
------------------------------------------------------------------------
CoreExtTest: test_bypass_versioning_gives_op_success_in_versioned_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000353229s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0005848909999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b40e')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b40e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000506661s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b40e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000333829s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b40e')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"updated name", "email"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000453868s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b40e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000368682s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b40e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000310508s
---------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_affect_all_docs_if_query_is_empty
---------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00029926599999999996s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00038111199999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b40f')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b40f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000520793s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b40f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00031928s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog"}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00044708599999999997s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000252629s
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000238145s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00037440399999999995s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b410')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b410'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000404592s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b411')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b411'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000470569s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b410')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00050844s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b410')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000458326s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b411')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00048324s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000313667s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000427734s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b412')}, "update"=>{"$set"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b412'), "before_create_field"=>0, "after_create_field"=>0, "before_update_field"=>0, "after_update_...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000474339s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b412')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000290623s
---------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_with_set_on_insert
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000270213s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0003807s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b413')}, "update"=>{"$setOnInsert"=>{"name"=>"cat"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000429904s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c327421aa94fcad4b413')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000298851s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | Topology type 'unknown' initializing.
MONGODB | Server localhost:27017 initializing.
MONGODB | Topology type 'unknown' changed to type 'single'.
MONGODB | Server description for localhost:27017 changed from 'unknown' to 'standalone'.
MONGODB | There was a change in the members of the 'single' topology.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00055205s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000308275s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d19')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d19'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000360218s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d19'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000432963s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d19')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"changed_...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000353621s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000224226s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000309712s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d1a')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d1a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00044424s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d1b')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d1b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000417493s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000189511s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000365487s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000459716s
-----------------------------------------------------------
CoreExtTest: test_versioned_create_should_return_doc_counts
-----------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00030775400000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000393657s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d1c')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d1c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.031227336s
---------------------------------------
CoreExtTest: test_cross_model_callbacks
---------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00041993600000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00048360300000000004s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"things", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d1d')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d1d'), "entries"=>{}, "version"=>1}}, "multi"=>false, "upsert"=>true}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0007342550000000001s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"entries", "documents"=>[{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d1e'), "parent_thing_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d1d')}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000582028s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"things", "query"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d1d')}, "update"=>{"$set"=>{"entries.5a61c33a421aa94fef8d6d1e"=>1516356410}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000472255s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"things", "filter"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d1d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000383209s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000341194s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000486971s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d1f')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d1f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0007651489999999999s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000348325s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000403872s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d20')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d20'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000453475s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d20')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000516844s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d20')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000318992s
-----------------------------------------------------------------------------------
CoreExtTest: test_versioned_create_should_return_matched_count_as_one_if_doc_exists
-----------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00048691s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000641753s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d21')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d21'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000678517s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"rrphotosoft@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d22'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000597806s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000344498s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000427791s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d23')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d23'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00042262500000000004s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d24')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d24'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000400623s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d23')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d25'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000354527s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00032319399999999996s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000319217s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000258259s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000308792s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d26')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d26'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000368177s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d26')}, "u"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00042014900000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d26')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00031721s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d26')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000291598s
-------------------------------------------------------------
CoreExtTest: test_after_callbacks_should_not_fire_if_op_fails
-------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000247682s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00025995s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d27')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d27'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000360916s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"god@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d28'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000341517s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0003022s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000700393s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d29')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d29'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0006636400000000001s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d29')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000757752s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d29')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000502533s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d29')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000458466s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000409075s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.024264203s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d2a')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d2a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000585297s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d2a')}, "u"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000640728s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d2a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00047294s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d2a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000440265s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000342102s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000413458s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d2b')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d2b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000540255s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d2b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00038856700000000004s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000285954s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00036114s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d2c')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d2c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00047735s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"$or"=>[{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d2d')}, {"name"=>"bhargav"}]}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d2d'), "before_create_field"=>1, "after_create_field"=>0, "be...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000653581s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000318516s
---------------------------------------------------------------
CoreExtTest: test_versioned_create_when_document_already_exists
---------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000251345s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000366192s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d2e')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d2e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000456136s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"bhargav.r.raut@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d2f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0006021760000000001s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000379753s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0007401899999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d30')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d30'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00055087s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d30')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail....
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000333445s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d30')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00028662s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d30')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000299224s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00021209999999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000385644s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d31')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d31'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000359779s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d31')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00033310100000000004s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00022995s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00025157799999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d32')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d32'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000315806s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000254169s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d32')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00021728299999999997s
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000203409s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00027028800000000004s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d33')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d33'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000395484s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d33'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00043302499999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d33')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000269267s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000171614s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000259764s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d34')}, "update"=>{"$set"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d34'), "before_create_field"=>0, "after_create_field"=>0, "before_update_field"=>0, "after_update_...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00030467199999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d34')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00022441600000000001s
----------------------------------------
CoreExtTest: test_image_versioned_update
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000143983s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000241721s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d35')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d35'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000979806s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d35')}, "u"=>{"$set"=>{"image_file_name"=>"keratoscope.jpg", "image_fingerprint"=>"ee7c3cdf8649e585fa6be4d3db954bf6", "image_content_type"=>"image/jpeg", ...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.046784444s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d35')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000617328s
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000390632s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0009140449999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d36')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d36'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005498100000000001s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d37')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d37'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000455823s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d36')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000407911s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d36')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000411252s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d37')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000302908s
---------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_with_set_on_insert
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000256236s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00039897800000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d38')}, "update"=>{"$setOnInsert"=>{"name"=>"cat"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000380563s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d38')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000299369s
---------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_affect_all_docs_if_query_is_empty
---------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000221759s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000290736s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d39')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d39'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00044632099999999996s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d39')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00028508799999999996s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog"}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000381602s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000269521s
------------------------------------------------------------------------
CoreExtTest: test_bypass_versioning_gives_op_success_in_versioned_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000264452s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000330191s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d3a')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d3a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000400894s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d3a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000331857s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d3a')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"updated name", "email"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000426741s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d3a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00044402900000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d3a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000689294s
-----------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_returns_a_mongoid_document
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000445036s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000361483s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d3b')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d3b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000398963s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d3b')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000365252s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00025923s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000329618s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d3c')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d3c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000406631s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d3c')}, "u"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000431848s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d3c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000273576s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c33a421aa94fef8d6d3c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00028815300000000003s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | Topology type 'unknown' initializing.
MONGODB | Server localhost:27017 initializing.
MONGODB | Topology type 'unknown' changed to type 'single'.
MONGODB | Server description for localhost:27017 changed from 'unknown' to 'standalone'.
MONGODB | There was a change in the members of the 'single' topology.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0006438199999999999s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00034338799999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261af5')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261af5'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000405347s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000235838s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261af5')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00025217s
---------------------------------------------------------------
CoreExtTest: test_versioned_create_when_document_already_exists
---------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00015507s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000262108s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261af6')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261af6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000268866s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"bhargav.r.raut@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261af7'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000302556s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000138738s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00022476s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261af8')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261af8'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000317157s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c389421aa95022261af8')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000407605s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261af8')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000276042s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261af8')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000454253s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000300335s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00042734299999999995s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261af9')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261af9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000468186s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c389421aa95022261af9')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000520848s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261af9')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000290482s
---------------------------------------
CoreExtTest: test_cross_model_callbacks
---------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000287704s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.028895782000000002s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"things", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261afa')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261afa'), "entries"=>{}, "version"=>1}}, "multi"=>false, "upsert"=>true}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000617361s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"entries", "documents"=>[{"_id"=>BSON::ObjectId('5a61c389421aa95022261afb'), "parent_thing_id"=>BSON::ObjectId('5a61c389421aa95022261afa')}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.0005237620000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"things", "query"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261afa')}, "update"=>{"$set"=>{"entries.5a61c389421aa95022261afb"=>1516356489}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00052526s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"things", "filter"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261afa')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00040967600000000004s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00033594800000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000323652s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261afc')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261afc'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000480031s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261afd')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261afd'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00043673100000000004s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261afc')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261afe'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000502561s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000330906s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00048609200000000003s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00034009700000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00041961399999999996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261aff')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261aff'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000444268s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c389421aa95022261aff')}, "u"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00047631700000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261aff')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000343595s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261aff')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00031766000000000005s
-----------------------------------------------------------------------------------
CoreExtTest: test_versioned_create_should_return_matched_count_as_one_if_doc_exists
-----------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000254895s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000338577s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b00')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b00'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000374559s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"rrphotosoft@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b01'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000349716s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00021830300000000001s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000276735s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b02')}, "update"=>{"$set"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b02'), "before_create_field"=>0, "after_create_field"=>0, "before_update_field"=>0, "after_update_...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000377893s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b02')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000245293s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000211581s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000301536s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b03')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b03'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000359112s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b03')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000318619s
-----------------------------------------------------------
CoreExtTest: test_versioned_create_should_return_doc_counts
-----------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000213433s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000292709s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b04')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b04'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000407924s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000250015s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00029607s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b05')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b05'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000521407s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b05'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0006329279999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c389421aa95022261b05')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"changed_...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005587610000000001s
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000359771s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000290962s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b06')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b06'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00032012800000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b06'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000415297s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b06')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00024468900000000003s
---------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_affect_all_docs_if_query_is_empty
---------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000192589s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000224461s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b07')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b07'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00028921299999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b07')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00030406s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog"}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000375082s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00017436s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00018021999999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000278791s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b08')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b08'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000278769s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b08')}, "u"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000305184s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b08')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.0002344s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b08')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000196128s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000163616s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000219612s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b09')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b09'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00032032800000000004s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c389421aa95022261b09')}, "u"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000398428s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b09')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00023887500000000002s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b09')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000247818s
------------------------------------------------------------------------
CoreExtTest: test_bypass_versioning_gives_op_success_in_versioned_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000187972s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00023905499999999998s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b0a')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b0a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000420432s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b0a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000383427s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b0a')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"updated name", "email"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00045489900000000004s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b0a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000366182s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b0a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000359111s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000209001s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.007635322000000001s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000328066s
-----------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_returns_a_mongoid_document
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00018181599999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000346648s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b0b')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b0b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000472183s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b0b')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000413308s
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000219889s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00034668s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b0c')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b0c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000414647s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b0d')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b0d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000440528s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b0c')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000458934s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b0c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000359547s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b0d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000374119s
-------------------------------------------------------------
CoreExtTest: test_after_callbacks_should_not_fire_if_op_fails
-------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000285913s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00037469s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b0e')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b0e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000352544s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"god@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b0f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000302099s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00022764200000000001s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000239214s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b10')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b10'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000325382s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b10')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail....
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000281721s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b10')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00024359099999999998s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b10')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000206396s
----------------------------------------
CoreExtTest: test_image_versioned_update
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000188176s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000244937s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b11')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b11'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000757531s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c389421aa95022261b11')}, "u"=>{"$set"=>{"image_file_name"=>"keratoscope.jpg", "image_fingerprint"=>"ee7c3cdf8649e585fa6be4d3db954bf6", "image_content_type"=>"image/jpeg", ...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000696199s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b11')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000337426s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00032098500000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000274011s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b12')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b12'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000414686s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"$or"=>[{"_id"=>BSON::ObjectId('5a61c389421aa95022261b13')}, {"name"=>"bhargav"}]}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b13'), "before_create_field"=>1, "after_create_field"=>0, "be...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0006100309999999999s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00037441199999999997s
---------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_with_set_on_insert
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000353415s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000659165s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b14')}, "update"=>{"$setOnInsert"=>{"name"=>"cat"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000598796s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b14')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000458716s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000344082s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0005322500000000001s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b15')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b15'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000541582s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b16')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b16'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0006064940000000001s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00043155s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000499665s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b17')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b17'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000584073s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b17')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000363021s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00030306399999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.063794158s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b18')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c389421aa95022261b18'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000596094s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | Topology type 'unknown' initializing.
MONGODB | Server localhost:27017 initializing.
MONGODB | Topology type 'unknown' changed to type 'single'.
MONGODB | Server description for localhost:27017 changed from 'unknown' to 'standalone'.
MONGODB | There was a change in the members of the 'single' topology.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000628513s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00030442100000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d73e')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d73e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00039317s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d73e')}, "u"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000330785s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d73e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000299657s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d73e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000260636s
---------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_affect_all_docs_if_query_is_empty
---------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000186336s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000214258s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d73f')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d73f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0002492s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d73f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000196752s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog"}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000274429s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000159034s
---------------------------------------------------------------
CoreExtTest: test_versioned_create_when_document_already_exists
---------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00020970300000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000205822s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d740')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d740'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00033059200000000005s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"bhargav.r.raut@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d741'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000399776s
---------------------------------------
CoreExtTest: test_cross_model_callbacks
---------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000257413s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00040614000000000004s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"things", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d742')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d742'), "entries"=>{}, "version"=>1}}, "multi"=>false, "upsert"=>true}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000606036s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"entries", "documents"=>[{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d743'), "parent_thing_id"=>BSON::ObjectId('5a61c39f421aa9504e04d742')}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.0005242819999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"things", "query"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d742')}, "update"=>{"$set"=>{"entries.5a61c39f421aa9504e04d743"=>1516356511}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000472479s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"things", "filter"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d742')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000271855s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000166402s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000321034s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d744')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d744'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000438719s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"$or"=>[{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d745')}, {"name"=>"bhargav"}]}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d745'), "before_create_field"=>1, "after_create_field"=>0, "be...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005656109999999999s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000179568s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00015049100000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000328022s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d746')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d746'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000424261s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d746')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail....
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00036695900000000004s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d746')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00021515399999999998s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d746')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000206385s
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000197476s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000360388s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d747')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d747'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000424832s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d747'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000549308s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d747')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00022324999999999998s
-----------------------------------------------------------------------------------
CoreExtTest: test_versioned_create_should_return_matched_count_as_one_if_doc_exists
-----------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00031853700000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000336032s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d748')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d748'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000408709s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"rrphotosoft@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d749'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000603943s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00037128s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000410779s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d74a')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d74a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00047328699999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d74a'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000570186s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c39f421aa9504e04d74a')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"changed_...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000466158s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000185259s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000339508s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d74b')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d74b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000419752s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d74c')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d74c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00044140199999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d74b')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d74d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000386748s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000190612s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000299466s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000152799s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00034753000000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d74e')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d74e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00044484099999999996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d74f')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d74f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000431994s
-----------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_returns_a_mongoid_document
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00019517599999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000346693s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d750')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d750'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000427148s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d750')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000401322s
---------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_with_set_on_insert
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000167414s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000334661s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d751')}, "update"=>{"$setOnInsert"=>{"name"=>"cat"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000360422s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d751')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000223151s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000179951s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.024032379s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d752')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d752'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000619718s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c39f421aa9504e04d752')}, "u"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0006613049999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d752')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000357272s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d752')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000340452s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000294978s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00041433100000000004s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d753')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d753'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000640427s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d753')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000535143s
-------------------------------------------------------------
CoreExtTest: test_after_callbacks_should_not_fire_if_op_fails
-------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00034442s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000685102s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d754')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d754'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000709193s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"god@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d755'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000619394s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00030458499999999996s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000390724s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d756')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d756'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000557464s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c39f421aa9504e04d756')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000637149s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d756')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000420293s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d756')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000338976s
-----------------------------------------------------------
CoreExtTest: test_versioned_create_should_return_doc_counts
-----------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000273191s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00041311900000000004s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d757')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d757'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00050795s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000266333s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000385067s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d758')}, "update"=>{"$set"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d758'), "before_create_field"=>0, "after_create_field"=>0, "before_update_field"=>0, "after_update_...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000451681s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d758')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000407483s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000285402s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00039856900000000004s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d759')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d759'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000556178s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c39f421aa9504e04d759')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000712741s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d759')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00043902599999999997s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000228046s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000337533s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d75a')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d75a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000478106s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00030186199999999996s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d75a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000304132s
----------------------------------------
CoreExtTest: test_image_versioned_update
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00020205699999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000274461s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d75b')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d75b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000917796s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c39f421aa9504e04d75b')}, "u"=>{"$set"=>{"image_file_name"=>"keratoscope.jpg", "image_fingerprint"=>"ee7c3cdf8649e585fa6be4d3db954bf6", "image_content_type"=>"image/jpeg", ...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.059335127s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d75b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.0006558789999999999s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000485123s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000497045s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d75c')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d75c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000539062s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c39f421aa9504e04d75c')}, "u"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00069655s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d75c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000496419s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d75c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00044386299999999996s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000355591s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000496647s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000389504s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000356097s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000345299s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d75d')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d75d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000657955s
------------------------------------------------------------------------
CoreExtTest: test_bypass_versioning_gives_op_success_in_versioned_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00037197099999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000481538s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d75e')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d75e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0006038759999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d75e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00042099899999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d75e')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"updated name", "email"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00042644600000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d75e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000342519s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d75e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000318019s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00026611399999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000353939s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d75f')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d75f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00038052500000000005s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d75f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00025591300000000003s
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000204444s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000324464s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d760')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d760'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000379957s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d761')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d761'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00036342499999999996s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d760')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00033493s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d760')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00030013s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c39f421aa9504e04d761')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000240542s
----------------------------------------
CoreExtTest: test_image_versioned_update
----------------------------------------
MONGODB | Topology type 'unknown' initializing.
MONGODB | Server localhost:27017 initializing.
MONGODB | Topology type 'unknown' changed to type 'single'.
MONGODB | Server description for localhost:27017 changed from 'unknown' to 'standalone'.
MONGODB | There was a change in the members of the 'single' topology.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0006614129999999999s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000299054s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b240')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b240'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000693393s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b240')}, "u"=>{"$set"=>{"image_file_name"=>"keratoscope.jpg", "image_fingerprint"=>"ee7c3cdf8649e585fa6be4d3db954bf6", "image_content_type"=>"image/jpeg", ...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0007455560000000001s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b240')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000412307s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000272613s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000602931s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b241')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b241'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000473541s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b241')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000391763s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00030093000000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000305473s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b242')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b242'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00035152599999999995s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b242')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000295057s
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000203947s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000277599s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b243')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b243'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000334765s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b243'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00038001399999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b243')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000223061s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00019876100000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00024265500000000001s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b244')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b244'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00030655s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b245')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b245'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000334774s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00021771800000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0002401s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b246')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b246'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000321456s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b246')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000348145s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b246')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000212126s
-------------------------------------------------------------
CoreExtTest: test_after_callbacks_should_not_fire_if_op_fails
-------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00016216100000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000218524s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b247')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b247'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000278418s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"god@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b248'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000260215s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000158646s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000204531s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000308144s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000190905s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000272519s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b249')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b249'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000350864s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b24a')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b24a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000299056s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b249')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b24b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000259804s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000178916s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000237732s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000147062s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.069909782s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b24c')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b24c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00068307s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000477044s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b24c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00047519099999999997s
-----------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_returns_a_mongoid_document
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00039873999999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000498751s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b24d')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b24d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0012626159999999998s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b24d')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000694407s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000477958s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000469722s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b24e')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b24e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005952290000000001s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b24e')}, "u"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000591002s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b24e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000380979s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b24e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00038961000000000003s
---------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_affect_all_docs_if_query_is_empty
---------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000320942s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000404609s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b24f')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b24f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000524912s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b24f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00035235700000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog"}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000473192s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00029149s
------------------------------------------------------------------------
CoreExtTest: test_bypass_versioning_gives_op_success_in_versioned_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00023546599999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000383649s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b250')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b250'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000466073s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b250')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00033228299999999995s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b250')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"updated name", "email"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0004932070000000001s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b250')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000335727s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b250')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00044271899999999995s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00038342199999999996s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000460652s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b251')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b251'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000690249s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b251')}, "u"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000718227s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b251')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000348827s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b251')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000323142s
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000240932s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000392604s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b252')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b252'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000510816s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b253')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b253'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000503086s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b252')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000444697s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b252')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000268478s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b253')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00038467499999999996s
---------------------------------------------------------------
CoreExtTest: test_versioned_create_when_document_already_exists
---------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000273152s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000412242s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b254')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b254'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000416448s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"bhargav.r.raut@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b255'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000435963s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000315005s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00030866300000000004s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b256')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b256'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000335949s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"$or"=>[{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b257')}, {"name"=>"bhargav"}]}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b257'), "before_create_field"=>1, "after_create_field"=>0, "be...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000792292s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00044395899999999996s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000489418s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000528096s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b258')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b258'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000539164s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b258')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail....
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000403693s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b258')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000334381s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b258')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000345164s
---------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_with_set_on_insert
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000315477s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000359932s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b259')}, "update"=>{"$setOnInsert"=>{"name"=>"cat"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000424913s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b259')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000332774s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000280222s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000354658s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b25a')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b25a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.018837552s
-----------------------------------------------------------------------------------
CoreExtTest: test_versioned_create_should_return_matched_count_as_one_if_doc_exists
-----------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00041054700000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00042712200000000005s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b25b')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b25b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000476733s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"rrphotosoft@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b25c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000546762s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000334985s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000704293s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b25d')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b25d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000666667s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b25d'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000589913s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b25d')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"changed_...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00044372899999999997s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000248442s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000332093s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b25e')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b25e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00040597200000000005s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b25e')}, "u"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000356064s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b25e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000291414s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b25e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00033172400000000004s
---------------------------------------
CoreExtTest: test_cross_model_callbacks
---------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000232031s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000327997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"things", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b25f')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b25f'), "entries"=>{}, "version"=>1}}, "multi"=>false, "upsert"=>true}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000550029s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"entries", "documents"=>[{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b260'), "parent_thing_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b25f')}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000558898s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"things", "query"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b25f')}, "update"=>{"$set"=>{"entries.5a61c3bb421aa9507a30b260"=>1516356539}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000337803s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"things", "filter"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b25f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000240818s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000181414s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000243623s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b261')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b261'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000378155s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b261')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000410263s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b261')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000284573s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b261')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00024045299999999998s
-----------------------------------------------------------
CoreExtTest: test_versioned_create_should_return_doc_counts
-----------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000213264s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000294366s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b262')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b262'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00041963000000000005s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00020923600000000001s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00029227299999999996s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b263')}, "update"=>{"$set"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b263'), "before_create_field"=>0, "after_create_field"=>0, "before_update_field"=>0, "after_update_...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00039014899999999995s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c3bb421aa9507a30b263')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000258626s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | Topology type 'unknown' initializing.
MONGODB | Server localhost:27017 initializing.
MONGODB | Topology type 'unknown' changed to type 'single'.
MONGODB | Server description for localhost:27017 changed from 'unknown' to 'standalone'.
MONGODB | There was a change in the members of the 'single' topology.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0006422120000000001s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000339467s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3f8421aa950cc023a46')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3f8421aa950cc023a46'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00045315000000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c3f8421aa950cc023a46'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00071181s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c3f8421aa950cc023a46')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000374618s
-----------------------------------------------------------------------------------
CoreExtTest: test_versioned_create_should_return_matched_count_as_one_if_doc_exists
-----------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000368985s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000463703s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3f8421aa950cc023a47')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3f8421aa950cc023a47'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00037152400000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"rrphotosoft@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3f8421aa950cc023a48'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005511330000000001s
-----------------------------------------------------------
CoreExtTest: test_versioned_create_should_return_doc_counts
-----------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000361746s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000409279s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3f8421aa950cc023a49')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3f8421aa950cc023a49'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000624712s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000350189s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00041105300000000004s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3f8421aa950cc023a4a')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3f8421aa950cc023a4a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00048991s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00032110200000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c3f8421aa950cc023a4a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000314545s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000154728s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000324052s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3f8421aa950cc023a4b')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3f8421aa950cc023a4b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000512495s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3f8421aa950cc023a4c')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3f8421aa950cc023a4c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00045230600000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3f8421aa950cc023a4b')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3f8421aa950cc023a4d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00036181500000000003s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00027133200000000005s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000322763s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000221685s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000272593s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000334387s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000239853s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00034204799999999996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3f8421aa950cc023a4e')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3f8421aa950cc023a4e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00048085s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c3f8421aa950cc023a4e')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0007390319999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c3f8421aa950cc023a4e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000359586s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c3f8421aa950cc023a4e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000412532s
-----------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_returns_a_mongoid_document
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000209337s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00029819700000000005s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3f8421aa950cc023a4f')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3f8421aa950cc023a4f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000373491s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c3f8421aa950cc023a4f')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00032479700000000004s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000229627s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.041879783s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3f8421aa950cc023a50')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3f8421aa950cc023a50'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000468161s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3f8421aa950cc023a50')}, "u"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000421206s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c3f8421aa950cc023a50')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000313324s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c3f8421aa950cc023a50')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000273295s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00015256099999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000273192s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3f8421aa950cc023a51')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3f8421aa950cc023a51'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000371254s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c3f8421aa950cc023a51')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000307339s
---------------------------------------------------------------
CoreExtTest: test_versioned_create_when_document_already_exists
---------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000273143s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000645792s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3f8421aa950cc023a52')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3f8421aa950cc023a52'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005095589999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"bhargav.r.raut@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3f8421aa950cc023a53'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000746911s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00037417099999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000317745s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3f8421aa950cc023a54')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3f8421aa950cc023a54'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000670473s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00031465000000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000305439s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3f8421aa950cc023a55')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3f8421aa950cc023a55'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000470909s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c3f8421aa950cc023a55')}, "u"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000584478s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c3f8421aa950cc023a55')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000389104s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c3f8421aa950cc023a55')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000355649s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000241458s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000298337s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a56')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a56'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000314361s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a56')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00037292200000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a56')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000255349s
---------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_with_set_on_insert
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000256766s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000233083s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a57')}, "update"=>{"$setOnInsert"=>{"name"=>"cat"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00026312300000000004s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a57')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00022512600000000003s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000139979s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000288557s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a58')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a58'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00035101800000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a58')}, "u"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000383894s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a58')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000309282s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a58')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00027805s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000232408s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000314837s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a59')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a59'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000370706s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a59')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail....
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0002712s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a59')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000224598s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a59')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000169005s
-------------------------------------------------------------
CoreExtTest: test_after_callbacks_should_not_fire_if_op_fails
-------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000155766s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000221341s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a5a')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a5a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000293792s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"god@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a5b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00025948400000000004s
------------------------------------------------------------------------
CoreExtTest: test_bypass_versioning_gives_op_success_in_versioned_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00017630399999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00024737s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a5c')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a5c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000416705s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a5c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000338482s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a5c')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"updated name", "email"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000422983s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a5c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00033872000000000004s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a5c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00019239000000000002s
----------------------------------------
CoreExtTest: test_image_versioned_update
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000142463s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000211711s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a5d')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a5d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000524492s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a5d')}, "u"=>{"$set"=>{"image_file_name"=>"keratoscope.jpg", "image_fingerprint"=>"ee7c3cdf8649e585fa6be4d3db954bf6", "image_content_type"=>"image/jpeg", ...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.10275108399999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a5d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000615767s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0005022070000000001s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000542706s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a5e')}, "update"=>{"$set"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a5e'), "before_create_field"=>0, "after_create_field"=>0, "before_update_field"=>0, "after_update_...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00043921899999999997s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a5e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000423893s
---------------------------------------
CoreExtTest: test_cross_model_callbacks
---------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000454961s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00048683099999999996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"things", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a5f')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a5f'), "entries"=>{}, "version"=>1}}, "multi"=>false, "upsert"=>true}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000660888s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"entries", "documents"=>[{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a60'), "parent_thing_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a5f')}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.0005253689999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"things", "query"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a5f')}, "update"=>{"$set"=>{"entries.5a61c3f9421aa950cc023a60"=>1516356601}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000413447s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"things", "filter"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a5f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000279793s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000241865s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000298688s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a61')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a61'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000430886s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a62')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a62'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000422976s
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00027609900000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00033688699999999996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a63')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a63'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00042741800000000005s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a64')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a64'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000476517s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a63')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00040760799999999995s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a63')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000341443s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a64')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000287492s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00026063000000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00036770199999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a65')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a65'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000453297s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a65'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000541396s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a65')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"changed_...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000576027s
---------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_affect_all_docs_if_query_is_empty
---------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00029409200000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00037813100000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a66')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a66'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000680245s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a66')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000588353s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog"}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000542312s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00037148300000000003s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00034678300000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00044118799999999996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a67')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a67'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000485841s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a67')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00037295799999999995s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00027957s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000348958s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a68')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a68'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000487186s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"$or"=>[{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a69')}, {"name"=>"bhargav"}]}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c3f9421aa950cc023a69'), "before_create_field"=>1, "after_create_field"=>0, "be...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000582472s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00033771100000000003s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | Topology type 'unknown' initializing.
MONGODB | Server localhost:27017 initializing.
MONGODB | Topology type 'unknown' changed to type 'single'.
MONGODB | Server description for localhost:27017 changed from 'unknown' to 'standalone'.
MONGODB | There was a change in the members of the 'single' topology.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0006522300000000001s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00047676099999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf06')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf06'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000577869s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c41b421aa95103babf06')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0006438969999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf06')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000329678s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf06')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000214955s
-----------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_returns_a_mongoid_document
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000260177s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000341088s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf07')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf07'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000720488s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf07')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000799206s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000410732s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00038578900000000004s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf08')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf08'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00045401s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000175361s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf08')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000260913s
----------------------------------------
CoreExtTest: test_image_versioned_update
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00014555s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000342015s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf09')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf09'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000646205s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c41b421aa95103babf09')}, "u"=>{"$set"=>{"image_file_name"=>"keratoscope.jpg", "image_fingerprint"=>"ee7c3cdf8649e585fa6be4d3db954bf6", "image_content_type"=>"image/jpeg", ...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.057615824s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf09')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00031221s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000255807s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000263309s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf0a')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf0a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00029591599999999996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf0b')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf0b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000283917s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00018056700000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000213187s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf0c')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf0c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00028601500000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf0d')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf0d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000291357s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf0c')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf0e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000234106s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000160631s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000216761s
---------------------------------------------------------------
CoreExtTest: test_versioned_create_when_document_already_exists
---------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000145496s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00020873599999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf0f')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf0f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000271114s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"bhargav.r.raut@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf10'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000263546s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000205792s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000198264s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf11')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf11'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00026634600000000004s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"$or"=>[{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf12')}, {"name"=>"bhargav"}]}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf12'), "before_create_field"=>1, "after_create_field"=>0, "be...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00077121s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000328858s
---------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_affect_all_docs_if_query_is_empty
---------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00022163899999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000816984s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf13')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf13'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000372234s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf13')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000210141s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog"}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00027479s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00014328099999999999s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000137776s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00021029500000000002s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf14')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf14'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000571163s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000286804s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000323938s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf15')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf15'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000397361s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf15')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000291212s
-----------------------------------------------------------------------------------
CoreExtTest: test_versioned_create_should_return_matched_count_as_one_if_doc_exists
-----------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000265935s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00040717600000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf16')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf16'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0007481619999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"rrphotosoft@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf17'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000458581s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000203131s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00025540999999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf18')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf18'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00031454700000000004s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c41b421aa95103babf18')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000408716s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf18')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000244518s
-------------------------------------------------------------
CoreExtTest: test_after_callbacks_should_not_fire_if_op_fails
-------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000241767s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00026183099999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf19')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf19'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00032265500000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"god@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf1a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000312572s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00020558399999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000282229s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00028458899999999997s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0001618s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000215043s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf1b')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf1b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00031904s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf1b')}, "u"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00023718s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf1b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00020729s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf1b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000210294s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000199934s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00025568300000000004s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf1c')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf1c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0006756619999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c41b421aa95103babf1c')}, "u"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0008156649999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf1c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000215751s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf1c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000235015s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000181667s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00024421400000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf1d')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf1d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000322108s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf1d'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000374083s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c41b421aa95103babf1d')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"changed_...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000284585s
---------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_with_set_on_insert
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00015803s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000210626s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf1e')}, "update"=>{"$setOnInsert"=>{"name"=>"cat"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000237254s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf1e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000175667s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000156638s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.019198687s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf1f')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf1f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0008348429999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf1f')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail....
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00038543599999999996s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf1f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000293738s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf1f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00026479600000000003s
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000207887s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000325955s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf20')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf20'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000359819s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf21')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf21'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00036689s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf20')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000333276s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf20')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000200218s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf21')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00022365599999999997s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000214364s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000301922s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf22')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf22'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000357728s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c41b421aa95103babf22')}, "u"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000423296s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf22')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000259161s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf22')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00021584500000000002s
-----------------------------------------------------------
CoreExtTest: test_versioned_create_should_return_doc_counts
-----------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000197171s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000279399s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf23')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf23'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000349809s
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000175836s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00024045000000000002s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf24')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf24'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00033406500000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf24'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000361999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf24')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000209755s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000182381s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000237827s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf25')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf25'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000303599s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c41b421aa95103babf25')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000348124s
------------------------------------------------------------------------
CoreExtTest: test_bypass_versioning_gives_op_success_in_versioned_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000248618s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00043823699999999996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c41c421aa95103babf26')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c41c421aa95103babf26'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.001025932s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c41c421aa95103babf26')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00043338800000000005s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c41c421aa95103babf26')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"updated name", "email"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000437131s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c41c421aa95103babf26')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000276142s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c41c421aa95103babf26')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00032544s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00023027s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000296403s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c41c421aa95103babf27')}, "update"=>{"$set"=>{"_id"=>BSON::ObjectId('5a61c41c421aa95103babf27'), "before_create_field"=>0, "after_create_field"=>0, "before_update_field"=>0, "after_update_...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000374382s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c41c421aa95103babf27')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000260741s
---------------------------------------
CoreExtTest: test_cross_model_callbacks
---------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000208658s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000266145s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"things", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c41c421aa95103babf28')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c41c421aa95103babf28'), "entries"=>{}, "version"=>1}}, "multi"=>false, "upsert"=>true}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000481139s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"entries", "documents"=>[{"_id"=>BSON::ObjectId('5a61c41c421aa95103babf29'), "parent_thing_id"=>BSON::ObjectId('5a61c41c421aa95103babf28')}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00043876900000000004s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"things", "query"=>{"_id"=>BSON::ObjectId('5a61c41c421aa95103babf28')}, "update"=>{"$set"=>{"entries.5a61c41c421aa95103babf29"=>1516356636}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00041585600000000004s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"things", "filter"=>{"_id"=>BSON::ObjectId('5a61c41c421aa95103babf28')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00038829500000000004s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | Topology type 'unknown' initializing.
MONGODB | Server localhost:27017 initializing.
MONGODB | Topology type 'unknown' changed to type 'single'.
MONGODB | Server description for localhost:27017 changed from 'unknown' to 'standalone'.
MONGODB | There was a change in the members of the 'single' topology.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.001284857s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0006371059999999999s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000458998s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000335095s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000426304s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885a6')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885a6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000532295s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885a6')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail....
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000355372s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885a6')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000329113s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885a6')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000298087s
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000215727s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00031126200000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885a7')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885a7'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000393832s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885a7'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000531739s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885a7')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00031251200000000003s
---------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_with_set_on_insert
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000227908s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00027880300000000005s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885a8')}, "update"=>{"$setOnInsert"=>{"name"=>"cat"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000341678s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885a8')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000266545s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000240276s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000307267s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885a9')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885a9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000372359s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"$or"=>[{"_id"=>BSON::ObjectId('5a61c439421aa951285885aa')}, {"name"=>"bhargav"}]}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885aa'), "before_create_field"=>1, "after_create_field"=>0, "be...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000667585s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00038433s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000394639s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0005482659999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885ab')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885ab'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005460980000000001s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c439421aa951285885ab')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000450509s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885ab')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000246818s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00020151499999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000275065s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885ac')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885ac'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000330217s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c439421aa951285885ac')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00039833500000000004s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885ac')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00028517s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885ac')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00029174100000000004s
------------------------------------------------------------------------
CoreExtTest: test_bypass_versioning_gives_op_success_in_versioned_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000236259s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00031120400000000004s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885ad')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885ad'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000386389s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885ad')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000308297s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885ad')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"updated name", "email"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000331204s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885ad')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000265067s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885ad')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00021871500000000002s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000168179s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0002484s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885ae')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885ae'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000294575s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c439421aa951285885ae')}, "u"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000340081s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885ae')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000248998s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885ae')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000294659s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00032037s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.032342417s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885af')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885af'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0009498550000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885af'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.001064545s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c439421aa951285885af')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"changed_...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000818513s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000497838s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0006199300000000001s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885b0')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885b0'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000676174s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885b1')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885b1'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000641562s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885b0')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885b2'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000597855s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000397775s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00050229s
-------------------------------------------------------------
CoreExtTest: test_after_callbacks_should_not_fire_if_op_fails
-------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000372065s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000494509s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885b3')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885b3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000572549s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"god@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885b4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005863369999999999s
-----------------------------------------------------------------------------------
CoreExtTest: test_versioned_create_should_return_matched_count_as_one_if_doc_exists
-----------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000442423s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000480447s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885b5')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885b5'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000704242s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"rrphotosoft@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885b6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000574947s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000333788s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000409191s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885b7')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885b7'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000845358s
-----------------------------------------------------------
CoreExtTest: test_versioned_create_should_return_doc_counts
-----------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000410633s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000450761s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885b8')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885b8'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000469206s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00027483499999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00037292499999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885b9')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885b9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000490316s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885b9')}, "u"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00037799899999999996s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885b9')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00028552600000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885b9')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000277857s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00024437899999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000331779s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885ba')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885ba'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000402609s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c439421aa951285885ba')}, "u"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000485834s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885ba')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000324929s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885ba')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000293407s
---------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_affect_all_docs_if_query_is_empty
---------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000233325s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000320897s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885bb')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885bb'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00039858s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885bb')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000292954s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog"}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00037842400000000003s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00020142899999999999s
---------------------------------------
CoreExtTest: test_cross_model_callbacks
---------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000219855s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000348724s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"things", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885bc')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885bc'), "entries"=>{}, "version"=>1}}, "multi"=>false, "upsert"=>true}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.033513133s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"entries", "documents"=>[{"_id"=>BSON::ObjectId('5a61c439421aa951285885bd'), "parent_thing_id"=>BSON::ObjectId('5a61c439421aa951285885bc')}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.0007042270000000001s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"things", "query"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885bc')}, "update"=>{"$set"=>{"entries.5a61c439421aa951285885bd"=>1516356665}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.0006065350000000001s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"things", "filter"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885bc')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000437997s
---------------------------------------------------------------
CoreExtTest: test_versioned_create_when_document_already_exists
---------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000372248s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00046822300000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885be')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885be'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000717328s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"bhargav.r.raut@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885bf'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000791343s
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0005442930000000001s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0005984520000000001s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885c0')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885c0'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000655938s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885c1')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885c1'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005907449999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885c0')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00045922499999999995s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885c0')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00036238s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885c1')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000340717s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000297459s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000349487s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885c2')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885c2'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00043847499999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885c3')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885c3'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000504243s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00030624600000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000396511s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885c4')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885c4'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000497846s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885c4')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000402549s
-----------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_returns_a_mongoid_document
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00021952900000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000431894s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885c5')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885c5'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000767328s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885c5')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000795763s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000614367s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00075732s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885c6')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885c6'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000766121s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000379467s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885c6')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.0005026189999999999s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000474282s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000567678s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885c7')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885c7'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000679031s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885c7')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000564011s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00043095499999999996s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0005584139999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885c8')}, "update"=>{"$set"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885c8'), "before_create_field"=>0, "after_create_field"=>0, "before_update_field"=>0, "after_update_...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000695557s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885c8')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.0005077829999999999s
----------------------------------------
CoreExtTest: test_image_versioned_update
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000385045s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000556448s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885c9')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885c9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.037407974999999996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c439421aa951285885c9')}, "u"=>{"$set"=>{"image_file_name"=>"keratoscope.jpg", "image_fingerprint"=>"ee7c3cdf8649e585fa6be4d3db954bf6", "image_content_type"=>"image/jpeg", ...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.001103684s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c439421aa951285885c9')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000616449s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | Topology type 'unknown' initializing.
MONGODB | Server localhost:27017 initializing.
MONGODB | Topology type 'unknown' changed to type 'single'.
MONGODB | Server description for localhost:27017 changed from 'unknown' to 'standalone'.
MONGODB | There was a change in the members of the 'single' topology.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0008832229999999999s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000479556s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d3d')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d3d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000630283s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c455421aa95159ec9d3d')}, "u"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000487528s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d3d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00023781s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d3d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000192621s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00018395599999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00022384800000000002s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d3e')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d3e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00032088200000000004s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c455421aa95159ec9d3e')}, "u"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000329495s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d3e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000297952s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d3e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000300505s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000259701s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.026773894000000003s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d3f')}, "update"=>{"$set"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d3f'), "before_create_field"=>0, "after_create_field"=>0, "before_update_field"=>0, "after_update_...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00040949300000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d3f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00027523s
---------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_affect_all_docs_if_query_is_empty
---------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00034882500000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000439546s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d40')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d40'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005892439999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d40')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00046696899999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog"}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000429059s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000248596s
---------------------------------------
CoreExtTest: test_cross_model_callbacks
---------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00022999s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00030817s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"things", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d41')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d41'), "entries"=>{}, "version"=>1}}, "multi"=>false, "upsert"=>true}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00053607s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"entries", "documents"=>[{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d42'), "parent_thing_id"=>BSON::ObjectId('5a61c455421aa95159ec9d41')}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.000474011s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"things", "query"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d41')}, "update"=>{"$set"=>{"entries.5a61c455421aa95159ec9d42"=>1516356693}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000387073s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"things", "filter"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d41')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000292777s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00023005199999999999s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000279504s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d43')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d43'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00041929399999999996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c455421aa95159ec9d43')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0006913150000000001s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d43')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000454722s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d43')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000483009s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000287031s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000538353s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d44')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d44'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000505054s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d44')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000307597s
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000229595s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000369151s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d45')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d45'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000458205s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d45'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000570064s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d45')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000292404s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000205681s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000370911s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d46')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d46'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000463548s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d46')}, "u"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00040565299999999996s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d46')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00030327100000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d46')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000293217s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00022895s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000330049s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d47')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d47'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000579567s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d47')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail....
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000373389s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d47')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00030917s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d47')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00029517599999999997s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000236254s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000280467s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d48')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d48'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00044595299999999996s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000363019s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d48')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000533513s
-----------------------------------------------------------------------------------
CoreExtTest: test_versioned_create_should_return_matched_count_as_one_if_doc_exists
-----------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00043328s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00041766s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d49')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d49'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000449294s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"rrphotosoft@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d4a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000417257s
---------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_with_set_on_insert
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00027251s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000344595s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d4b')}, "update"=>{"$setOnInsert"=>{"name"=>"cat"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00039544s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d4b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000332634s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00033913199999999996s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000457565s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d4c')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d4c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000517774s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"$or"=>[{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d4d')}, {"name"=>"bhargav"}]}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d4d'), "before_create_field"=>1, "after_create_field"=>0, "be...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0006049409999999999s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000289779s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000233439s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00036646199999999996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d4e')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d4e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000453839s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d4e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000316136s
------------------------------------------------------------------------
CoreExtTest: test_bypass_versioning_gives_op_success_in_versioned_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000251932s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000355518s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d4f')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d4f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000455913s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d4f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00023662s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d4f')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"updated name", "email"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000416669s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d4f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00028270199999999996s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c455421aa95159ec9d4f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00036927499999999996s
----------------------------------------
CoreExtTest: test_image_versioned_update
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000269879s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.004834951s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c456421aa95159ec9d50')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c456421aa95159ec9d50'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000747148s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c456421aa95159ec9d50')}, "u"=>{"$set"=>{"image_file_name"=>"keratoscope.jpg", "image_fingerprint"=>"ee7c3cdf8649e585fa6be4d3db954bf6", "image_content_type"=>"image/jpeg", ...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0007955530000000001s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c456421aa95159ec9d50')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000393307s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000368676s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00043342799999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c456421aa95159ec9d51')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c456421aa95159ec9d51'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000474418s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c456421aa95159ec9d52')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c456421aa95159ec9d52'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000458525s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c456421aa95159ec9d51')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c456421aa95159ec9d53'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000395819s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000300235s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000364912s
-----------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_returns_a_mongoid_document
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000230471s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000321481s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c456421aa95159ec9d54')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c456421aa95159ec9d54'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000442595s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c456421aa95159ec9d54')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000494033s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00036383600000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000415781s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c456421aa95159ec9d55')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c456421aa95159ec9d55'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000520662s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c456421aa95159ec9d56')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c456421aa95159ec9d56'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00044546699999999996s
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000286637s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000364603s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00033649600000000004s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000215224s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00027794500000000004s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c456421aa95159ec9d57')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c456421aa95159ec9d57'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000434361s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c456421aa95159ec9d57')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000585193s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c456421aa95159ec9d57')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000285917s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000151233s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000400026s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c456421aa95159ec9d58')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c456421aa95159ec9d58'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000534087s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c456421aa95159ec9d58'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000561712s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61c456421aa95159ec9d58')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"changed_...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000484275s
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000281544s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000272207s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c456421aa95159ec9d59')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c456421aa95159ec9d59'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000504096s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c456421aa95159ec9d5a')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c456421aa95159ec9d5a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000613792s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61c456421aa95159ec9d59')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000429454s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c456421aa95159ec9d59')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000322116s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61c456421aa95159ec9d5a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000183087s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000171804s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000254226s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c456421aa95159ec9d5b')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c456421aa95159ec9d5b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.014427586s
---------------------------------------------------------------
CoreExtTest: test_versioned_create_when_document_already_exists
---------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000324798s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000405018s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c456421aa95159ec9d5c')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c456421aa95159ec9d5c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000396412s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"bhargav.r.raut@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c456421aa95159ec9d5d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000394868s
-----------------------------------------------------------
CoreExtTest: test_versioned_create_should_return_doc_counts
-----------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000248202s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000314488s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c456421aa95159ec9d5e')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c456421aa95159ec9d5e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000396496s
-------------------------------------------------------------
CoreExtTest: test_after_callbacks_should_not_fire_if_op_fails
-------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000291363s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000252503s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c456421aa95159ec9d5f')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c456421aa95159ec9d5f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000346767s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"god@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c456421aa95159ec9d60'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000334937s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
------------------------
CoreExtTest: test_af_cal
------------------------
MONGODB | Topology type 'unknown' initializing.
MONGODB | Server localhost:27017 initializing.
MONGODB | Topology type 'unknown' changed to type 'single'.
MONGODB | Server description for localhost:27017 changed from 'unknown' to 'standalone'.
MONGODB | There was a change in the members of the 'single' topology.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000536899s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000299972s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c5a3421aa9521ec5c3c8')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c5a3421aa9521ec5c3c8'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000394037s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"god@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c5a3421aa9521ec5c3c9'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00029760299999999996s
------------------------
CoreExtTest: test_af_cal
------------------------
MONGODB | Topology type 'unknown' initializing.
MONGODB | Server localhost:27017 initializing.
MONGODB | Topology type 'unknown' changed to type 'single'.
MONGODB | Server description for localhost:27017 changed from 'unknown' to 'standalone'.
MONGODB | There was a change in the members of the 'single' topology.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000745082s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000386548s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c64c421aa952450b4d52')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c64c421aa952450b4d52'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000505398s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"god@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c64c421aa952450b4d53'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00037153s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
------------------------
CoreExtTest: test_af_cal
------------------------
MONGODB | Topology type 'unknown' initializing.
MONGODB | Server localhost:27017 initializing.
MONGODB | Topology type 'unknown' changed to type 'single'.
MONGODB | Server description for localhost:27017 changed from 'unknown' to 'standalone'.
MONGODB | There was a change in the members of the 'single' topology.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.0008949740000000001s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000462613s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c66d421aa9525d50d460')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c66d421aa9525d50d460'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005241730000000001s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"god@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c66d421aa9525d50d461'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000408806s
------------------------
CoreExtTest: test_af_cal
------------------------
MONGODB | Topology type 'unknown' initializing.
MONGODB | Server localhost:27017 initializing.
MONGODB | Topology type 'unknown' changed to type 'single'.
MONGODB | Server description for localhost:27017 changed from 'unknown' to 'standalone'.
MONGODB | There was a change in the members of the 'single' topology.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000643597s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000368924s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c69f421aa95277e5b1bc')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c69f421aa95277e5b1bc'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000410237s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"god@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c69f421aa95277e5b1bd'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00042571899999999997s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
------------------------
CoreExtTest: test_af_cal
------------------------
MONGODB | Topology type 'unknown' initializing.
MONGODB | Server localhost:27017 initializing.
MONGODB | Topology type 'unknown' changed to type 'single'.
MONGODB | Server description for localhost:27017 changed from 'unknown' to 'standalone'.
MONGODB | There was a change in the members of the 'single' topology.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000682965s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00035850799999999995s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c7d7421aa952e9441008')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c7d7421aa952e9441008'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00046528s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"god@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c7d7421aa952e9441009'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000348858s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
------------------------
CoreExtTest: test_af_cal
------------------------
MONGODB | Topology type 'unknown' initializing.
MONGODB | Server localhost:27017 initializing.
MONGODB | Topology type 'unknown' changed to type 'single'.
MONGODB | Server description for localhost:27017 changed from 'unknown' to 'standalone'.
MONGODB | There was a change in the members of the 'single' topology.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000817905s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00047408300000000003s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61c801421aa9532623a72d')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c801421aa9532623a72d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000592436s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"god@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61c801421aa9532623a72e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00045663400000000003s
------------------------
CoreExtTest: test_af_cal
------------------------
MONGODB | Topology type 'unknown' initializing.
MONGODB | Server localhost:27017 initializing.
MONGODB | Topology type 'unknown' changed to type 'single'.
MONGODB | Server description for localhost:27017 changed from 'unknown' to 'standalone'.
MONGODB | There was a change in the members of the 'single' topology.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000748881s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000387998s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61cc2b421aa9542068cec0')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61cc2b421aa9542068cec0'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000522644s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"god@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61cc2b421aa9542068cec1'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000411421s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
------------------------
CoreExtTest: test_af_cal
------------------------
MONGODB | Topology type 'unknown' initializing.
MONGODB | Server localhost:27017 initializing.
MONGODB | Topology type 'unknown' changed to type 'single'.
MONGODB | Server description for localhost:27017 changed from 'unknown' to 'standalone'.
MONGODB | There was a change in the members of the 'single' topology.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000673923s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000354973s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61cc85421aa9548441e27f')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61cc85421aa9548441e27f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000474217s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"god@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61cc85421aa9548441e280'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000385272s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------
---------------------------------------------------
CoreExtTest: test_invalid_documents_are_not_created
---------------------------------------------------
MONGODB | Topology type 'unknown' initializing.
MONGODB | Server localhost:27017 initializing.
MONGODB | Topology type 'unknown' changed to type 'single'.
MONGODB | Server description for localhost:27017 changed from 'unknown' to 'standalone'.
MONGODB | There was a change in the members of the 'single' topology.
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000874704s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.0005355630000000001s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000400692s
---------------------------------------------------------------
CoreExtTest: test_versioned_create_when_document_already_exists
---------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00034024200000000004s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000372231s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2558')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2558'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0006770249999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"bhargav.r.raut@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2559'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005502889999999999s
----------------------------------------------
CoreExtTest: test_passing_optional_update_hash
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00018895299999999998s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000307381s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad255a')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad255a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000334541s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad255a')}, "u"=>{"$inc"=>{"likes"=>1, "version"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00035981s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad255a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000258092s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad255a')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00026814899999999997s
---------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_does_not_affect_all_docs_if_query_is_empty
---------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00014409s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00022583599999999998s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad255b')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad255b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00029227100000000003s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad255b')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000181454s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{}, "update"=>{"$set"=>{"name"=>"dog"}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000309789s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000226192s
------------------------------------------------------------------------
CoreExtTest: test_bypass_versioning_gives_op_success_in_versioned_update
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00011668699999999999s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00017896s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad255c')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad255c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000268465s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad255c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000177145s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad255c')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"updated name", "email"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000381779s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad255c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00020679999999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad255c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00017613400000000002s
---------------------------------------------
CoreExtTest: test_bypass_versioning_on_update
---------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000140333s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00018715000000000002s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad255d')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad255d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00026727s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad255d')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "email"=>"bhargav.r.raut@gmail....
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000210203s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad255d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000164077s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad255d')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00016594s
------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_created
------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000159098s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000222692s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad255e')}, "update"=>{"$set"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad255e'), "before_create_field"=>0, "after_create_field"=>0, "before_update_field"=>0, "after_update_...
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00033263499999999996s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad255e')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000274027s
-----------------------------------------------------------------
CoreExtTest: test_versioned_update_without_providing_dirty_fields
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00031177099999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000356922s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad255f')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad255f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000650529s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad255f')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.034555332s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad255f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000312445s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad255f')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00027344200000000004s
--------------------------------------
CoreExtTest: test_versioned_upsert_one
--------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00041869899999999997s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000491183s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2560')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2560'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005289549999999999s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2560'), "version"=>1}, "update"=>{"$set"=>{"email"=>"b.raut@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000578242s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2560')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000409409s
----------------------------------------
CoreExtTest: test_image_versioned_create
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000307332s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000343074s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2561')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2561'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000795928s
---------------------------------
CoreExtTest: test_query_in_create
---------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00038549s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00035642599999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2562')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2562'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00043822399999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"$or"=>[{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2563')}, {"name"=>"bhargav"}]}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2563'), "before_create_field"=>1, "after_create_field"=>0, "be...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000553951s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000280361s
---------------------------------------------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_increments_version_if_doc_found_but_doesnt_affect_other_docs
---------------------------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000215109s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000345018s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2564')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2564'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00043133799999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2565')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2565'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000386639s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2564')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000354237s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2564')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000249156s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2565')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000229346s
---------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_with_set_on_insert
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000185027s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000238728s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2566')}, "update"=>{"$setOnInsert"=>{"name"=>"cat"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.00027818799999999996s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2566')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00028971s
----------------------------------------------
CoreExtTest: test_before_update_self_callbacks
----------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000436806s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000419104s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2567')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2567'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0008575449999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2567')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"bhargav"...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0006537s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2567')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000287455s
-----------------------------------------------------------------
CoreExtTest: test_versioned_upsert_one_returns_a_mongoid_document
-----------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000268636s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000330884s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2568')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2568'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00041721099999999996s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2568')}, "update"=>{"$set"=>{"name"=>"roxanne"}, "$inc"=>{"version"=>1}}, "new"=>true, "upsert"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000407931s
-------------------------------------------------------------------------------
CoreExtTest: test_does_not_increment_version_of_all_existing_document_on_create
-------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00021332099999999999s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00028324400000000004s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2569')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2569'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000352176s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad256a')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad256a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000356494s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2569')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad256b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000280878s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00019273s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000229445s
----------------------------------------
CoreExtTest: test_image_versioned_update
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000184192s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000281056s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad256c')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad256c'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00063556s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad256c')}, "u"=>{"$set"=>{"image_file_name"=>"keratoscope.jpg", "image_fingerprint"=>"ee7c3cdf8649e585fa6be4d3db954bf6", "image_content_type"=>"image/jpeg", ...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.015875732s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad256c')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00035197799999999997s
----------------------------------
CoreExtTest: test_version_conflict
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00035574399999999996s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000301803s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad256d')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad256d'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000402733s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"users", "query"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad256d'), "version"=>1}, "update"=>{"$set"=>{"email"=>"kkk@gmail.com"}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000458227s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad256d')}, "u"=>{"$set"=>{"before_create_field"=>1, "after_create_field"=>1, "before_update_field"=>1, "after_update_field"=>0, "likes"=>0, "name"=>"changed_...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000377129s
-----------------------------------------------------------------------------------
CoreExtTest: test_versioned_create_should_return_matched_count_as_one_if_doc_exists
-----------------------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000215627s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00025754900000000004s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad256e')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad256e'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.00039449099999999996s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"rrphotosoft@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad256f'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005043809999999999s
----------------------------------------
CoreExtTest: test_after_create_callbacks
----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00036270300000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000396769s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2570')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2570'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005119559999999999s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2570')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000431632s
--------------------------------------------------------------------
CoreExtTest: test_passing_optional_update_hash_and_bypass_versioning
--------------------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000261061s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000344352s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2571')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2571'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005044419999999999s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2571')}, "u"=>{"$inc"=>{"likes"=>1}, "$set"=>{"name"=>"changed"}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000532981s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2571')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000443934s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2571')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.0002919s
----------------------------------
CoreExtTest: test_create_two_users
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000233563s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000283515s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2572')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2572'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000322431s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2573')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2573'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000322757s
---------------------------------------
CoreExtTest: test_cross_model_callbacks
---------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000214263s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000230729s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"things", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2574')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2574'), "entries"=>{}, "version"=>1}}, "multi"=>false, "upsert"=>true}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000505874s
MONGODB | localhost:27017 | dummy_test.insert | STARTED | {"insert"=>"entries", "documents"=>[{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2575'), "parent_thing_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2574')}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.insert | SUCCEEDED | 0.00042702399999999997s
MONGODB | localhost:27017 | dummy_test.findandmodify | STARTED | {"findandmodify"=>"things", "query"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2574')}, "update"=>{"$set"=>{"entries.5a61ccf9421aa954f1ad2575"=>1516358905}, "$inc"=>{"version"=>1}}, "new"=>true, "bypassDocumentValidation"=>false}
MONGODB | localhost:27017 | dummy_test.findandmodify | SUCCEEDED | 0.000377902s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"things", "filter"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2574')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000267483s
-----------------------------------------
CoreExtTest: test_before_create_callbacks
-----------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00021602400000000002s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.00025745499999999997s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2576')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2576'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000561112s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2576')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000387098s
---------------------------------------------------------
CoreExtTest: test_versioned_update_providing_dirty_fields
---------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00043408s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000384962s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2577')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2577'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000462249s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2577')}, "u"=>{"$set"=>{"email"=>"c@gmail.com"}, "$inc"=>{"version"=>1}}, "multi"=>false, "upsert"=>false}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.0005458650000000001s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2577')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00028438s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2577')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.00036148100000000003s
-----------------------------------------------------------
CoreExtTest: test_versioned_create_should_return_doc_counts
-----------------------------------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.00028171800000000003s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000386115s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2578')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2578'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000410413s
----------------------------------
CoreExtTest: test_versioned_create
----------------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000228256s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000376598s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2579')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2579'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000433402s
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000200375s
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad2579')}}
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.0003088s
------------------------
CoreExtTest: test_af_cal
------------------------
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}}
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000162908s
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000328717s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad257a')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad257a'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_up...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000410602s
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "updates"=>[{"q"=>{"email"=>"god@gmail.com"}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5a61ccf9421aa954f1ad257b'), "before_create_field"=>1, "after_create_field"=>0, "before_update_field"=>0, "after_update_field"=>0, "likes"=>...
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000349291s
--------------------------------------
MongoidVersionedAtomicTest: test_truth
--------------------------------------