Minor fixes for unit test delegation.
(cherry picked from commit be199cfe90
)
This commit is contained in:
parent
6870700a23
commit
96ab73a874
2 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue