From ef21038dd59f98b2bbc113ed9848f0b7b0426156 Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Wed, 15 Nov 2017 12:00:10 -0800 Subject: [PATCH] Fix ansible-test race calling get_coverage_path. --- test/runner/lib/executor.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/runner/lib/executor.py b/test/runner/lib/executor.py index 8237d59400..8250c7bfaf 100644 --- a/test/runner/lib/executor.py +++ b/test/runner/lib/executor.py @@ -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: