Skip to content

Conversation

@Didainius
Copy link
Contributor

@Didainius Didainius commented Mar 18, 2025

This PR adds functionality to reuse vCenter and NSX manager across many tests that depend on it.

This functionality should remove dependency of creating/destroying NSX/vCenter in every test that requires it and improve reliability and performance this way.

It leverages preTestChecks and postTestChecks to ensure that whatever test is run, it would execute the priority tests at first and then setup shared NSX + vCenter for usage in further tests that is only cleaned up at the very end of suite.

Signed-off-by: Dainius <[email protected]>
@Didainius Didainius changed the title Working WIP Reuse vCenter and NSX manager for tests Mar 18, 2025
Signed-off-by: Dainius <[email protected]>
@Didainius Didainius marked this pull request as ready for review March 21, 2025 12:14
Copy link

@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.

This great and contains everything we already discussed offline. Thanks!

Copy link
Contributor

@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.

Thanks!

Signed-off-by: Dainius <[email protected]>
@Didainius Didainius merged commit ee94b15 into vmware:main Mar 21, 2025
2 checks passed
@Didainius Didainius deleted the reuse-vc-pr branch March 21, 2025 12:54
@Didainius Didainius mentioned this pull request Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants