Allows for retrying a test a specified number of times before giving up and failing a build.