Minor fixes for unit test delegation.

(cherry picked from commit be199cfe90)
pull/46656/head
Matt Clay 6 years ago
parent 6870700a23
commit 96ab73a874

@ -278,7 +278,6 @@ def delegate_docker(args, exclude, require, integration_targets):
# run unit tests unprivileged to prevent stray writes to the source tree
if isinstance(args, UnitsConfig):
writable_dirs = [
'/root/ansible/lib/ansible.egg-info',
'/root/ansible/.pytest_cache',
]

@ -37,6 +37,7 @@ class DefaultTarFilter(TarFilter):
'.tox',
'.git',
'.idea',
'.pytest_cache',
'__pycache__',
'ansible.egg-info',
)

Loading…
Cancel
Save