gaia-app/gaia

✨ : support mongodb 4.4

juwit opened this issue · 0 comments

juwit commented

Is your feature request related to a problem? Please describe.
We should be able to support latest mongodb version.
As for now, our tests stick to version 4.0, because of the usage of the $eval command.

Describe the solution you'd like
Replace $eval usage with something else.
Load the scripts in the test container in some directory, and run them using the mongo shell command.

Describe alternatives you've considered
Plain old Java, but having JS shells seems nice to build test data.

Additional context
Deprecated db.eval command (removed in mongo 4.2)
https://docs.mongodb.com/manual/reference/method/db.eval/