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
{{ message }}
Repository navigation
Commit 0932294
Browse filesBrowse the repository at this point in the historyBrowse files
Make ResultCacheManagerCollectedDataTest independent of the second boundary
saveFullAnalysis() restored the cache with one ResultCacheManager and saved it
with another, so the "fresh" save never had the stat signatures the restore
recorded and always wrote none. The partial and warm saves record them as soon
as the files are older than the second the save begins, so the comparisons
failed whenever a second boundary fell between the saves.
Restore and save with the same manager, and wait until the files are in the
past before saving, like DirectoryWalkerTest and
OptimizedDirectorySourceLocatorFactoryTest do, so every save signs every file.
Amp-Thread-ID: https://ampcode.com/threads/T-01a1976c-1bde-72f8-b96c-072279109d59
0 commit comments