Reduce vcenter integration test boilerplate.

This commit is contained in:
Matt Clay 2019-02-26 09:32:06 -08:00
parent e017d94766
commit b713246f57
79 changed files with 24 additions and 459 deletions

View file

@ -149,6 +149,8 @@ class VcenterEnvironment(CloudEnvironment):
:type env: dict[str, str]
:type cmd: list[str]
"""
cmd.append('-e')
cmd.append('vcsim=%s' % self._get_cloud_config('vcenter_host'))
# Send the container IP down to the integration test(s)
env['vcenter_host'] = self._get_cloud_config('vcenter_host')
env['VCENTER_HOST'] = self._get_cloud_config('vcenter_host')