1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix ansible-test race calling get_coverage_path.

This commit is contained in:
Matt Clay 2017-11-15 12:00:10 -08:00
parent 21c8ab537b
commit ef21038dd5

View file

@ -48,6 +48,7 @@ from lib.util import (
find_pip,
find_executable,
raw_command,
get_coverage_path,
)
from lib.ansible_util import (
@ -320,6 +321,8 @@ def command_network_integration(args):
instances = [] # type: list [lib.thread.WrappedThread]
if args.platform:
get_coverage_path(args) # initialize before starting threads
configs = dict((config['platform_version'], config) for config in args.metadata.instance_config)
for platform_version in args.platform:
@ -478,6 +481,8 @@ def command_windows_integration(args):
instances = [] # type: list [lib.thread.WrappedThread]
if args.windows:
get_coverage_path(args) # initialize before starting threads
configs = dict((config['platform_version'], config) for config in args.metadata.instance_config)
for version in args.windows: