Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert tests to use NSX-T based VDC #886

Merged
merged 59 commits into from
Jul 29, 2022
Merged

Conversation

Didainius
Copy link
Collaborator

@Didainius Didainius commented Jul 28, 2022

This PR replaces #869 and continues making NSX-T VDC the main VDC for testing (instead of NSX-V one).

It is merged with the latest main branch.

WIP log for VCD working tests:

  • All TestAccDataSourceNotFound pass
  • Fixed and made TestAccVcdMediaInsertBasic and TestAccVcdMediaLockTest pass
  • Fixed TestAccVcdSecurityTag
  • Fixed TestAccVcdNsxtStandaloneEmptyVm
  • Fixed TestAccVcdNsxtVAppRawAllNsxtNetworks
  • Fixed TestAccVcdCatalogSharedAccess
  • Fixed TestAccVcdOpenApiDhcpNsxtRouted for VCD < 10.3.1
  • Fixed TestAccVcdCatalogItemBasic for VCD 10.2.0
  • Skipping TestAccVcdOrgGroup on VCD 10.2.0 because NSX-T Direct Network is not supported

Signed-off-by: Vaidotas Bauzys <vbauzys@vmware.com>
Signed-off-by: Vaidotas Bauzys <vbauzys@vmware.com>
Signed-off-by: Vaidotas Bauzys <vbauzys@vmware.com>
Signed-off-by: Vaidotas Bauzys <vbauzys@vmware.com>
Signed-off-by: Vaidotas Bauzys <vbauzys@vmware.com>
Signed-off-by: Vaidotas Bauzys <vbauzys@vmware.com>
Signed-off-by: Vaidotas Bauzys <vbauzys@vmware.com>
Signed-off-by: Vaidotas Bauzys <vbauzys@vmware.com>
Signed-off-by: Vaidotas Bauzys <vbauzys@vmware.com>
Signed-off-by: Vaidotas Bauzys <vbauzys@vmware.com>
Signed-off-by: Vaidotas Bauzys <vbauzys@vmware.com>
Signed-off-by: Vaidotas Bauzys <vbauzys@vmware.com>
Signed-off-by: Vaidotas Bauzys <vbauzys@vmware.com>
Signed-off-by: Vaidotas Bauzys <vbauzys@vmware.com>
Signed-off-by: Vaidotas Bauzys <vbauzys@vmware.com>
Signed-off-by: Vaidotas Bauzys <vbauzys@vmware.com>
Signed-off-by: Vaidotas Bauzys <vbauzys@vmware.com>
Signed-off-by: Vaidotas Bauzys <vbauzys@vmware.com>
Signed-off-by: Vaidotas Bauzys <vbauzys@vmware.com>
Signed-off-by: Vaidotas Bauzys <vbauzys@vmware.com>
…NsxtAppPortProfileTenantContextVdcGroup tests

Signed-off-by: Vaidotas Bauzys <vbauzys@vmware.com>
Signed-off-by: Vaidotas Bauzys <vbauzys@vmware.com>
Signed-off-by: Vaidotas Bauzys <vbauzys@vmware.com>
Signed-off-by: Vaidotas Bauzys <vbauzys@vmware.com>
Signed-off-by: Vaidotas Bauzys <vbauzys@vmware.com>
Signed-off-by: Vaidotas Bauzys <vbauzys@vmware.com>
Signed-off-by: Vaidotas Bauzys <vbauzys@vmware.com>
Signed-off-by: Vaidotas Bauzys <vbauzys@vmware.com>
Signed-off-by: Vaidotas Bauzys <vbauzys@vmware.com>
Signed-off-by: Vaidotas Bauzys <vbauzys@vmware.com>
@Didainius Didainius changed the title Converted tests to use NSX-T based VDC Convert tests to use NSX-T based VDC Jul 28, 2022
Signed-off-by: Dainius Serplis <dserplis@vmware.com>
@Didainius Didainius self-assigned this Jul 28, 2022
Signed-off-by: Dainius Serplis <dserplis@vmware.com>
Signed-off-by: Dainius Serplis <dserplis@vmware.com>
Signed-off-by: Dainius Serplis <dserplis@vmware.com>
Signed-off-by: Dainius Serplis <dserplis@vmware.com>
Signed-off-by: Dainius Serplis <dserplis@vmware.com>
Signed-off-by: Dainius Serplis <dserplis@vmware.com>
… not supported

Signed-off-by: Dainius Serplis <dserplis@vmware.com>
Signed-off-by: Dainius Serplis <dserplis@vmware.com>
Signed-off-by: Dainius Serplis <dserplis@vmware.com>
…update

Signed-off-by: Dainius Serplis <dserplis@vmware.com>
…lation

Signed-off-by: Dainius Serplis <dserplis@vmware.com>
@Didainius Didainius marked this pull request as ready for review July 29, 2022 10:18
Signed-off-by: Dainius Serplis <dserplis@vmware.com>
Copy link
Collaborator

@lvirbalas lvirbalas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some suggestions and LGTM!

vcd/resource_vcd_nsxt_dynamic_security_group_test.go Outdated Show resolved Hide resolved
vcd/resource_vcd_nsxt_dynamic_security_group_test.go Outdated Show resolved Hide resolved
.changes/v3.7.0/886-notes.md Outdated Show resolved Hide resolved
website/docs/r/nsxt_dynamic_security_group.html.markdown Outdated Show resolved Hide resolved
Signed-off-by: Dainius Serplis <dserplis@vmware.com>
Copy link
Collaborator

@adambarreiro adambarreiro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Didainius Didainius merged commit 9520a8d into vmware:main Jul 29, 2022
@Didainius Didainius deleted the cds-tests branch July 29, 2022 11:43
@Didainius Didainius mentioned this pull request Aug 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants