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 # run unit tests unprivileged to prevent stray writes to the source tree
if isinstance(args, UnitsConfig): if isinstance(args, UnitsConfig):
writable_dirs = [ writable_dirs = [
'/root/ansible/lib/ansible.egg-info',
'/root/ansible/.pytest_cache', '/root/ansible/.pytest_cache',
] ]

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

Loading…
Cancel
Save