From 34529551faf0c1206e5fe887355da882a5c32c9e Mon Sep 17 00:00:00 2001 From: James Ennis Date: Tue, 25 Jun 2019 12:24:26 +0100 Subject: _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. --- tests/artifactcache/junctions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/artifactcache') 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') -- cgit v1.2.1