Skip to content

Commit

Permalink
Remove certs directory that might exist before trying install (vmware…
Browse files Browse the repository at this point in the history
  • Loading branch information
mhagen-vmware authored Aug 28, 2017
1 parent 6011ddb commit ba7c619
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/resources/VCH-Util.robot
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ Set Test Environment Variables
Run Keyword If $domain != '' Set Suite Variable ${vicmachinetls} --tls-cname=*.${domain}

Set Test VCH Name
# cleanup any potential old certs directories
Remove Directory %{VCH-NAME} recursive=${true}
# Set a unique bridge network for each VCH that has a random VLAN ID
${vlan}= Run Keyword If '%{HOST_TYPE}' == 'ESXi' Evaluate str(random.randint(1, 4093)) modules=random
${out}= Run Keyword If '%{HOST_TYPE}' == 'ESXi' Run govc host.portgroup.add -vlan=${vlan} -vswitch vSwitchLAN %{VCH-NAME}-bridge
Expand Down

0 comments on commit ba7c619

Please sign in to comment.