[test] Add a check of the retry failure.