diff options
author | James Ennis <james.ennis@codethink.co.uk> | 2019-06-25 12:24:26 +0100 |
---|---|---|
committer | James Ennis <james.ennis@codethink.com> | 2019-08-06 13:03:47 +0000 |
commit | 34529551faf0c1206e5fe887355da882a5c32c9e (patch) | |
tree | 86de24b70d823ac0d7213a6358026243840d61af /tests/artifactcache | |
parent | 5e475b9cdadc07272bc4cd4d0977422ec241a785 (diff) | |
download | buildstream-34529551faf0c1206e5fe887355da882a5c32c9e.tar.gz |
_project.py: Revert back to not caching junctioned elements
Originally, the intended default behaviour of BuildStream was to
only cache project elements in project specific remotes.
This behaviour was broken by: 24c0de16faec2b8b9bd6a03504ce951dc49afbe2.
Introduced in !1113.
This patch reverts the behaviour and asserts that junctioned elements
are not pushed to their parent's project-specific remote.
Diffstat (limited to 'tests/artifactcache')
-rw-r--r-- | tests/artifactcache/junctions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/artifactcache/junctions.py b/tests/artifactcache/junctions.py index 34d6916e8..c93d79c4b 100644 --- a/tests/artifactcache/junctions.py +++ b/tests/artifactcache/junctions.py @@ -57,7 +57,7 @@ def test_push_pull(cli, tmpdir, datafiles): # In the parent project's cache assert_shared(cli, share, project, 'target.bst', project_name='parent') assert_shared(cli, share, project, 'app.bst', project_name='parent') - assert_shared(cli, share, base_project, 'base-element.bst', project_name='base') + assert_not_shared(cli, share, base_project, 'base-element.bst', project_name='base') # In the junction project's cache assert_not_shared(cli, base_share, project, 'target.bst', project_name='parent') |