Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mongodb 4.2.0 support #982

Closed
bizob2828 opened this issue Nov 17, 2021 · 0 comments · Fixed by #1063
Closed

mongodb 4.2.0 support #982

bizob2828 opened this issue Nov 17, 2021 · 0 comments · Fixed by #1063
Assignees
Labels

Comments

@bizob2828
Copy link
Member

mongodb 4.2.0 dropped support for v2 of mongodb server. Min Supported Versions. Our versioned tests spin up a v2 of mongodb server. This fails with

MongoServerSelectionError: Server at localhost:27017 reports maximum wire version 2, but this version of the Node.js Driver requires at least 6 (MongoDB 3.6)
    at Timeout._onTimeout (/Users/revans/code/node-newrelic/test/versioned/mongodb/node_modules/mongodb/src/sdam/topology.ts:623:30)
    at listOnTimeout (node:internal/timers:557:17)
    at processTimers (node:internal/timers:500:7)

We need to investigate which minimum version of mongodb server we can support and update the versioned tests stanza accordingly. If we still want to support an unsupported version of mongodb server we could spin up multiple mongo containers and update tests accordingly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant