I found that only minor version upgrades work, but in the circleci CI/CD pipeline, any major version updates fail there (but work locally, naturally..)
If flaky tests arrive again (and they will) around saving duplicate unique db properties:
Look into putting the following into a beforeEach in the tests that are acting up:
Description
Using this PR to upgrade mongodb-memory-server
I found that only minor version upgrades work, but in the circleci CI/CD pipeline, any major version updates fail there (but work locally, naturally..)
If flaky tests arrive again (and they will) around saving duplicate unique db properties:
Look into putting the following into a beforeEach in the tests that are acting up:
SomeModel.syncIndex() mongoose.syncIndexes()