Test DB and Application Recoverability

Tested by restarting the application service while DB service is still running.

docker restart -t0 app

The application still runs by calling the REST API's.

Tested by restarting the db service while App service is still running

docker-compose -f docker-tools/docker-compose.yml -f docker-tools/docker-compose-dev.yml restart -t0 db

While the DB service is in the process of restarting the application still runs but returns null results and doesn't show any database connection error. The application returns results when DB service is up again after restart.

Tested by stopping the db service while App service is still running

docker-compose -f docker-tools/docker-compose.yml -f docker-tools/docker-compose-dev.yml stop -t0 db

When the DB service is stopped the application still runs but returns null results and doesn't show any database connection error.

Last updated