Commit 47de526
authored
test: Add less restrictive gem spec for mongo gem (#1537)
* Add less restrictive gem spec for mongo gem
It looks like latest features (including jruby 10 enablement) will require the
latest minor release of the mongo gem.
Specifically:
The latest mongo gem relaxes the range for the ruby-bson gem. This would allow
the uptake of mongodb/bson-ruby#353 if it is accepted.
* Update test expectations based on latest mongo gem
This commit updates the test expectation for an updated message string. The same
behavior is observbed, the message has just been updated.
This commit also updates construction of a test mongodb client with a newly
required value for auth_source when building a simple client.1 parent 67743b2 commit 47de526
File tree
2 files changed
+5
-4
lines changed- instrumentation/mongo
- test/opentelemetry/instrumentation/mongo
2 files changed
+5
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
9 | 9 | | |
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
380 | 380 | | |
381 | 381 | | |
382 | 382 | | |
383 | | - | |
| 383 | + | |
384 | 384 | | |
385 | 385 | | |
386 | 386 | | |
| |||
402 | 402 | | |
403 | 403 | | |
404 | 404 | | |
405 | | - | |
| 405 | + | |
| 406 | + | |
406 | 407 | | |
407 | 408 | | |
408 | 409 | | |
| |||
0 commit comments