Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use nanos to prevent truncation errors (#204)
SpannerRetryHelperTest.testExceptionWithRetryInfo could sometimes fail on some environments. I have not been able to reproduce it locally, but one possible reason for the failure could be truncation when converting from nanoseconds to milliseconds. Now both the timeout and the verification use nanosecond precision. This change also removes all uses of hamcres in this test file. Fixes #200
- Loading branch information
Showing with 9 additions and 10 deletions.