-
Notifications
You must be signed in to change notification settings - Fork 75
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
Bump default API version to V36.0 (VCD 10.3+) #500
Conversation
…n conditional checks Signed-off-by: Dainius Serplis <dserplis@vmware.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great, thank you! As I will be away for a few days, I'm giving an early LGTM, so you don't have to wait on me for merging.
My only request is to see what the whole test suite returns after this change, hopefully nothing complains :)
Yeah. I am now fixing things up, but tests will take their time before this lands. |
Signed-off-by: Dainius Serplis <dserplis@vmware.com>
1da0f3e
to
897a7c0
Compare
Signed-off-by: Dainius Serplis <dserplis@vmware.com>
Signed-off-by: Dainius Serplis <dserplis@vmware.com>
Signed-off-by: Dainius Serplis <dserplis@vmware.com>
474a0c9
to
91631d9
Compare
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>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice 😄
Signed-off-by: Dainius Serplis <dserplis@vmware.com>
VCD 10.2 is going EOL for 2022-10-15 and the next release is going to be later than that therefore bumping default API version to V36.0. (for those with explicit needs there is an option to override the default version by using
GOVCD_API_VERSION
environment variable).Additionally, this PR removes conditional checks that were being used for versions < 36.0
It should also fix all currently known flaky tests, which should make test run clean:
From
To
Test
TestClient_getloginurl
started failing immediately because it relied on a matching path which has changed.PARTIALLY_POWERED_OFF
in 10.3. TestTest_VMToggleHardwareVirtualization
failed because functionToggleHardwareVirtualization
specifically relied on VM beingPOWERED_OFF
. This function is adjusted to also matchPARTIALLY_POWERED_OFF
PARTIALLY_POWERED_OFF
in 10.3.Test_VMPowerOnPowerOff
started failing.Test_RemoveAllNetworks
by ensureing vApp is powered off before removing all networks.