Fix ansible-test race calling get_coverage_path.
This commit is contained in:
parent
21c8ab537b
commit
ef21038dd5
1 changed files with 5 additions and 0 deletions
|
@ -48,6 +48,7 @@ from lib.util import (
|
||||||
find_pip,
|
find_pip,
|
||||||
find_executable,
|
find_executable,
|
||||||
raw_command,
|
raw_command,
|
||||||
|
get_coverage_path,
|
||||||
)
|
)
|
||||||
|
|
||||||
from lib.ansible_util import (
|
from lib.ansible_util import (
|
||||||
|
@ -320,6 +321,8 @@ def command_network_integration(args):
|
||||||
instances = [] # type: list [lib.thread.WrappedThread]
|
instances = [] # type: list [lib.thread.WrappedThread]
|
||||||
|
|
||||||
if args.platform:
|
if args.platform:
|
||||||
|
get_coverage_path(args) # initialize before starting threads
|
||||||
|
|
||||||
configs = dict((config['platform_version'], config) for config in args.metadata.instance_config)
|
configs = dict((config['platform_version'], config) for config in args.metadata.instance_config)
|
||||||
|
|
||||||
for platform_version in args.platform:
|
for platform_version in args.platform:
|
||||||
|
@ -478,6 +481,8 @@ def command_windows_integration(args):
|
||||||
instances = [] # type: list [lib.thread.WrappedThread]
|
instances = [] # type: list [lib.thread.WrappedThread]
|
||||||
|
|
||||||
if args.windows:
|
if args.windows:
|
||||||
|
get_coverage_path(args) # initialize before starting threads
|
||||||
|
|
||||||
configs = dict((config['platform_version'], config) for config in args.metadata.instance_config)
|
configs = dict((config['platform_version'], config) for config in args.metadata.instance_config)
|
||||||
|
|
||||||
for version in args.windows:
|
for version in args.windows:
|
||||||
|
|
Loading…
Reference in a new issue