Skip to content

Commit

Permalink
Fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
comandeo-mongo committed Nov 1, 2024
1 parent 9ca5d7d commit dfb821e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,33 +16,33 @@ jobs:
fail-fast: false
matrix:
os: [ ubuntu-20.04 ]
ruby: ["2.7", "3.0", "3.1", "3.2"]
mongodb: ["3.6", "4.4", "5.0", "6.0", "7.0"]
ruby: ["2.7", "3.0", "3.1", "3.2", "3.3"]
mongodb: ["4.4", "5.0", "6.0", "7.0", "8.0"]
topology: [replica_set, sharded_cluster]
include:
- os: macos
ruby: "2.7"
mongodb: "5.0"
mongodb: "7.0"
topology: server
- os: macos
ruby: "3.0"
mongodb: "5.0"
mongodb: "7.0"
topology: server
- os: ubuntu-latest
ruby: "2.7"
mongodb: "5.0"
mongodb: "7.0"
topology: server
- os: ubuntu-latest
ruby: "3.1"
mongodb: "5.0"
mongodb: "7.0"
topology: server
- os: ubuntu-latest
ruby: "3.2"
mongodb: "5.0"
mongodb: "7.0"
topology: server
- os: ubuntu-latest
ruby: "3.2"
mongodb: "6.0"
mongodb: "8.0"
topology: replica_set
steps:
- name: repo checkout
Expand Down
4 changes: 3 additions & 1 deletion spec/mongo/error/pool_cleared_error_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
describe Mongo::Error::PoolClearedError do
describe '#initialize' do
let(:error) do
described_class.new(double('address'), double('pool'))
described_class.new(
instance_double(Mongo::Address), instance_double(Mongo::Server::ConnectionPool)
)
end

it 'appends TransientTransactionError' do
Expand Down

0 comments on commit dfb821e

Please sign in to comment.