Skip to content
This repository has been archived by the owner on Oct 28, 2022. It is now read-only.

Commit

Permalink
Merge pull request #456 from alagoutte/fix_edge_test
Browse files Browse the repository at this point in the history
edge(test): fix unneeded display
  • Loading branch information
Nick Bradford authored Jan 24, 2018
2 parents 74f2560 + 37866aa commit 63abe2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/04.Edge.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ Describe "Edge" {
$script:vnics += New-NsxEdgeInterfaceSpec -index 2 -Type internal -Name "vNic2" -ConnectedTo $lswitches[1] -PrimaryAddress $ip2 -SubnetPrefixLength 24
$script:vnics += New-NsxEdgeInterfaceSpec -index 3 -Type trunk -Name "vNic3" -ConnectedTo $pg1
$script:preexistingrulename = "pester_e_testrule1"
$edge = New-NsxEdge -Name $name -Interface $vnics[0],$vnics[1],$vnics[2] -Cluster $cl -Datastore $ds -password $password -tenant $tenant -enablessh -Hostname "pestertest"
$edge | get-nsxedgefirewall | new-nsxedgefirewallrule -name $preexistingrulename -action accept
$edge = New-NsxEdge -Name $name -Interface $vnics[0],$vnics[1],$vnics[2] -Cluster $cl -Datastore $ds -password $password -tenant $tenant -enablessh -Hostname "pestertest"
$edge | get-nsxedgefirewall | new-nsxedgefirewallrule -name $preexistingrulename -action accept | out-null
$script:scopedservice = New-NsxService -scope $edge.id -Name "pester_e_scopedservice" -Protocol "TCP" -port "1234"
$script:VersionLessThan623 = [version]$DefaultNsxConnection.Version -lt [version]"6.2.3"
$script:VersionLessThan630 = [version]$DefaultNsxConnection.Version -lt [version]"6.3.0"
Expand Down

0 comments on commit 63abe2a

Please sign in to comment.