You should probably have another test that only raises once to verify that the retry proceeds without error - otherwise you are only testing the all or none scenarios, not the scenario you wrote the retry to address...