mirror of
https://github.com/restic/restic.git
synced 2024-08-21 11:53:22 +02:00
The comparison of the current time and the last lock refresh were using seconds represented as integers. As the test only waits for up to one second, the associated number truncation can cause the test to take longer than once second and thus to fail. Switch to nanoseconds to avoid this problem. This also slightly speeds up the test. |
||
---|---|---|
.. | ||
restic |