File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
test/opentelemetry/instrumentation/mongo Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 44#
55# SPDX-License-Identifier: Apache-2.0
66
7- appraise 'mongo-2.13 ' do
8- gem 'mongo' , '~> 2.13.0 '
7+ appraise 'mongo-2' do
8+ gem 'mongo' , '~> 2.13'
99end
Original file line number Diff line number Diff line change @@ -380,7 +380,7 @@ module MongoTraceTest
380380 _ ( span . events [ 0 ] . name ) . must_equal 'exception'
381381 _ ( span . events [ 0 ] . timestamp ) . must_be_kind_of Integer
382382 _ ( span . events [ 0 ] . attributes [ 'exception.type' ] ) . must_equal 'CommandFailed'
383- _ ( span . events [ 0 ] . attributes [ 'exception.message' ] ) . must_equal 'ns not found (26) '
383+ _ ( span . events [ 0 ] . attributes [ 'exception.message' ] ) . must_equal '[26:NamespaceNotFound]: ns not found'
384384 end
385385
386386 describe 'that triggers #failed before #started' do
@@ -402,7 +402,8 @@ module MongoTraceTest
402402 database : TestHelper . database ,
403403 auth_mech : :plain ,
404404 user : 'plain_user' ,
405- password : 'plain_pass'
405+ password : 'plain_pass' ,
406+ auth_source : '$external'
406407 }
407408 end
408409
You can’t perform that action at this time.
0 commit comments