test/instrumentation/mongo_test.rb in oboe-2.3.3.7 vs test/instrumentation/mongo_test.rb in oboe-2.3.4.1
- old
+ new
@@ -281,10 +281,10 @@
validate_event_keys(traces[2], @exit_kvs)
traces[1]['Collection'].must_equal "testCollection"
traces[1].has_key?('Backtrace').must_equal Oboe::Config[:mongo][:collect_backtraces]
traces[1]['QueryOp'].must_equal "find"
- traces[1]['Query'].must_equal "{\"name\":\"MyName\",\"limit\":1}"
+ traces[1].has_key?('Query').must_equal true
traces[1]['Limit'].must_equal "1"
end
it "should trace group" do
coll = @db.collection("testCollection")