summaryrefslogtreecommitdiff
path: root/tests/frontend/track.py
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2020-08-04 16:49:10 +0200
committerJürg Billeter <j@bitron.ch>2020-08-06 07:10:28 +0200
commit5c1468e7ebfeddb695eb754b606099468dcea98a (patch)
treead590bb977ce537425564e7451bee3b8df868de7 /tests/frontend/track.py
parent7a9dd098efa6d5070455f432e2557a321b2dfd76 (diff)
downloadbuildstream-5c1468e7ebfeddb695eb754b606099468dcea98a.tar.gz
source.py: Validate cache when it's used, not in `_is_cached()`
`_is_cached()` is indirectly called by the frontend, which is not optimal for handling per-plugin errors. Instead, call `validate_cache()` right before the cache is used: in fetch jobs and when opening a workspace.
Diffstat (limited to 'tests/frontend/track.py')
0 files changed, 0 insertions, 0 deletions