[testResult] Fix a problem that sometimes fail a test.

This implementation simply retry to read the file.