Skip to content

Commit

Permalink
Skip all external network v2 tests in Org user mode
Browse files Browse the repository at this point in the history
Signed-off-by: Dainius Serplis <dserplis@vmware.com>
  • Loading branch information
Didainius committed Jul 4, 2023
1 parent 093610e commit c0a6fcc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions govcd/external_network_v2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ func (vcd *TestVCD) Test_CreateExternalNetworkV2NsxtSegment(check *C) {
}

func (vcd *TestVCD) testCreateExternalNetworkV2Nsxt(check *C, backingName, backingType string, useIpSpace bool, ownerOrgId string) {
if vcd.skipAdminTests {
check.Skip(fmt.Sprintf(TestRequiresSysAdminPrivileges, check.TestName()))
}
endpoint := types.OpenApiPathVersion1_0_0 + types.OpenApiEndpointExternalNetworks
skipOpenApiEndpointTest(vcd, check, endpoint)
skipNoNsxtConfiguration(vcd, check)
Expand Down

0 comments on commit c0a6fcc

Please sign in to comment.