I ran the tests with the test database on AWS set in the config. It tried to remove the content of the tables before rolling back. But the rollback took hours and locked tables on the server, resulting in very slow queries for the users of the test environment.
We need a solution so the tests fail without running queries on the database if the database in config is a live environment.
Incident of the 21/05/2024:
We need a solution so the tests fail without running queries on the database if the database in config is a live environment.