You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All tests run against mongomock, including the role, group and permission queries. Mongomock differs from MongoDB in places (operators, indexes, unique constraints), and the Docker Compose smoke test only checks public reads and 401s. Found in the v0.3.0 pre-release review; to be fixed before the release (user decision, 2026-10-21).
How?
Let the test fixtures use a real MongoDB when an environment variable is set (e.g. MONGODB_TEST_URI), and mongomock otherwise.
Add a CI job that runs the full suite against a MongoDB 7.0 service container.
Fix anything that behaves differently against the real database.
Document how to run the tests against a local MongoDB.
Acceptance criteria
CI runs the full suite against real MongoDB 7.0, and it passes.
Local runs without the variable still use mongomock.
Activity