Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use nanos to prevent truncation errors #204

Merged
merged 1 commit into from May 14, 2020
Merged

fix: use nanos to prevent truncation errors #204

merged 1 commit into from May 14, 2020

Commits on May 13, 2020

  1. fix: use nanos to prevent truncation errors

    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
    olavloite committed May 13, 2020
    Copy the full SHA
    1f0604b View commit details
    Browse the repository at this point in the history