diff options
Diffstat (limited to 'tests/integration')
-rw-r--r-- | tests/integration/cachedfail.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/integration/cachedfail.py b/tests/integration/cachedfail.py index 467d3968f..a7509ab3b 100644 --- a/tests/integration/cachedfail.py +++ b/tests/integration/cachedfail.py @@ -25,7 +25,6 @@ from buildstream._exceptions import ErrorDomain from buildstream.testing import cli_integration as cli # pylint: disable=unused-import from buildstream.testing._utils.site import HAVE_SANDBOX -from tests.conftest import clean_platform_cache from tests.testutils import create_artifact_share @@ -206,16 +205,11 @@ def test_host_tools_errors_are_not_cached(cli, datafiles): } _yaml.roundtrip_dump(element, element_path) - clean_platform_cache() - # Build without access to host tools, this will fail result1 = cli.run(project=project, args=['build', 'element.bst'], env={'PATH': '', 'BST_FORCE_SANDBOX': None}) result1.assert_task_error(ErrorDomain.SANDBOX, 'unavailable-local-sandbox') assert cli.get_element_state(project, 'element.bst') == 'buildable' - # clean the cache before running again - clean_platform_cache() - # When rebuilding, this should work result2 = cli.run(project=project, args=['build', 'element.bst']) result2.assert_success() |