Activate the failing mode in mongodb
February 23, 2022
Sometimes it is interesting to simulate errors in the database to test certain cases, with the following steps we can simulate a failure in the mongodb database locally.
We use a mongodb running in docker.
Steps: