Now, it's time to try out the circuit breaker and retry mechanism. We will start, as usual, by building the Docker images and running the test script, test-em-all.bash. After that, we will run through the tests we described previously manually to ensure that we understand what's going on! We will perform the following manual tests:
- Happy days tests of the circuit breaker, that is, to verify that the circuit is closed under normal operations
- Negative tests of the circuit breaker, that is, to verify that the circuit opens up when things start to go wrong
- Going back to normal operation, that is, to verify that the circuit goes back to its closed state once the problems are resolved
- Trying out the retry mechanism with random errors