Details
Assignee
UnassignedUnassignedReporter
Barak KorrenBarak Korren(Deactivated)Components
Priority
Medium
Details
Details
Assignee
Unassigned
UnassignedReporter
Barak Korren
Barak Korren(Deactivated)Components
Priority
Created May 28, 2017 at 8:22 AM
Updated June 24, 2018 at 7:59 AM
It turns out that 'mock' check the timestamp on the mock cache and compares it with the timestamp on the mock configuration file. If the cache is older, mock removes it.
As a work-around for that, mock_runner includes a '
touch
' command that changes the timestamp on the mock configuration file to be a day older then the current time. Once the cache becomes older then a day it should also become older then the configuration file and therefore cleaned.We need to change this so that instead of touching the configuration file we will touch the cache itself to ensure it is newer. That will guarantee the cache will stick around and will be used until it is erased by our cleanup script.