-
-
Notifications
You must be signed in to change notification settings - Fork 171
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
Achieve full compatibility with FerretDB #477
Comments
We added your integration tests to our CI see a failed run here. I will parse through the output and create issues and link them to our config files. |
We noticed that restheart-core tests currently fail when run against MongoDB: https://github.com/FerretDB/dance/actions/runs/6964444145/job/18951686919?pr=649 Is it expected? Are we doing something wrong in FerretDB/dance#649 |
Some features of RESTHeart requires MongoDB to be run as a replica set. This because change streams and transactions are available only on a replica set. We run our tests against a single node replica set. See https://restheart.org/docs/setup#run-with-mongodb Basically you need to run mongo as follows::
|
You can also skip tests that require a replica set (and run the tests against a standalone MongoDB process) as follows:
Also note that at https://github.com/softInstigate/restheart#execute-the-integration-tests-suite you will find instructions on how to run and test RESTHeart against FerretDB. You can notice that we specify there |
Thanks @ujibang, we configured our MongoDB service as a single node replica set and it now passes. |
Brief overview
FerretDB is the truly Open Source MongoDB alternative, built on Postgres.
We are working with the FerretDB team to make RESTHeart and FerretDB work together.
Rationale
Extend support to other DBs
Detailed documentation
TBD
The text was updated successfully, but these errors were encountered: