You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running tests, CreateZipShouldSetTimeOnEntriesFromConstructorTimeSetting(LastAccessTime) might fail due to a rounding error (or it could be due to the time difference between when the test is getting the time and the file actually being updated).
In any case, what the test is actually trying to determine, is if the time is updated, not how accurate it is. Adding a +/- 2s tolerance should fix it.
Expected behavior
Test should pass regardless of what time its being executed.
Actual behavior
Error Message:
Expected: 2021-03-14 14:23:42
But was: 2021-03-14 14:23:40
The text was updated successfully, but these errors were encountered:
When running tests,
CreateZipShouldSetTimeOnEntriesFromConstructorTimeSetting(LastAccessTime)
might fail due to a rounding error (or it could be due to the time difference between when the test is getting the time and the file actually being updated).In any case, what the test is actually trying to determine, is if the time is updated, not how accurate it is. Adding a +/- 2s tolerance should fix it.
Expected behavior
Test should pass regardless of what time its being executed.
Actual behavior
The text was updated successfully, but these errors were encountered: