Bug 1555385 [wpt PR 17072] - Pass rebuild through correctly to invalidate cache, a=testonly

Automatic update from web-platform-tests
Pass rebuild through correctly to invalidate cache (#17072)

This makes us always assume the cache and manifest are in-sync,
which they aren't if e.g. the manifest version changes
--

wp5At-commits: 3f832722a2c8971ca3a895d67c1ff00099551a3b
wpt-pr: 17072
This commit is contained in:
Sam Sneddon 2019-06-13 14:21:31 +00:00 committed by James Graham
parent 5dc1a7e7d3
commit c2fe969033

View File

@ -147,7 +147,7 @@ class MtimeCache(CacheFile):
def __init__(self, cache_root, tests_root, manifest_path, rebuild=False):
self.manifest_path = manifest_path
super(MtimeCache, self).__init__(cache_root, tests_root, rebuild=False)
super(MtimeCache, self).__init__(cache_root, tests_root, rebuild)
def updated(self, rel_path, stat):
"""Return a boolean indicating whether the file changed since the cache was last updated.