In the end-to-end testing, we pull the images to test before running the test. However, in some cases the image pulling fails and hence the whole test fails. Therefore, it would be helpful to add some simple logic in the test setup stage where we retry to pull an image that we could not pull. We can also retry at most 5 times and if all retries fail, then we can simply fail the test with the respective message.