summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTristan Maat <tristan.maat@codethink.co.uk>2019-10-18 14:24:17 +0100
committerTristan Maat <tristan.maat@codethink.co.uk>2019-11-18 13:22:38 +0000
commitf5a23b82784afe208febfdde9c1912e9f059e1c4 (patch)
tree831e2a69ebafccdc7d667f53cd9481fa21434db6 /tests
parent14146c2796fbf83afb8832bff67f4fa5be88c764 (diff)
downloadbuildstream-f5a23b82784afe208febfdde9c1912e9f059e1c4.tar.gz
Only run `element.__update_source_state` when necessary
Diffstat (limited to 'tests')
-rw-r--r--tests/artifactcache/push.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/artifactcache/push.py b/tests/artifactcache/push.py
index 238d5f7ef..e5a332dea 100644
--- a/tests/artifactcache/push.py
+++ b/tests/artifactcache/push.py
@@ -37,6 +37,7 @@ def _push(cli, cache_dir, project_dir, config_file, target):
# as this test does not use the cli frontend.
for e in element.dependencies(Scope.ALL):
# Determine initial element state.
+ e._update_source_state()
e._update_state()
# Manually setup the CAS remotes