fix retry manager unittest
Merge pull request #5123 from ticoann/fix_retry_unittest

fix retry manager unittest