CUCB / website

MIT License
3 stars 1 forks source link

Database resiliency #30

Open jarhodes314 opened 3 years ago

jarhodes314 commented 3 years ago

Check that the thing is resilient to database failures. To do this:

  1. Stop the database container
  2. Visit the members page/try and log in
  3. Restart the database container
  4. Check that the members page is now accessible and you can now log in
jarhodes314 commented 3 years ago

Might not be a terrible idea to add an automated test for this. Once it's working, it's probably not going to break though, so not hugely important/not worth a tonne of effort, but if it's not tricky, it might be worth it. I get the feeling dealing with this in cypress, particularly since it can be run from different compose files is going to be tricky and a bit hacky, so probably not worth it.

jarhodes314 commented 3 years ago

Probably also worth sorting #28 before doing this. That will likely mitigate the issue entirely.