-
Notifications
You must be signed in to change notification settings - Fork 392
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
adds ocb api e2e tests #4328
adds ocb api e2e tests #4328
Conversation
Skipping CI for Draft Pull Request. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cheesesashimi The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/test e2e-gcp-op-techpreview |
|
||
t.Logf("Wait for build to start") | ||
waitForPoolToReachState(t, cs, testOpts.poolName, func(mcp *mcfgv1.MachineConfigPool) bool { | ||
return ctrlcommon.NewMachineOSBuildState(mcp).IsBuilding() | ||
waitForMachineOSBuildToReachState(t, cs, testOpts.poolName, func(mosb *mcfgv1alpha1.MachineOSBuild) bool { |
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.
question: I think I am missing this but where is mosb
being generated or created?
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.
To my understanding, the MachineOSBuild object is created in response to the MachineOSConfig object.
d51b306
to
6dfe1d9
Compare
/test e2e-gcp-op-techpreview |
6dfe1d9
to
eb57b05
Compare
/test e2e-gcp-op-techpreview I think the reason this failed is because it leaves a MachineOSBuild object around even when all of the configs and pools related to it are deleted. I've added a post-test cleanup function to ensure that everything is removed between each test. |
/test e2e-gcp-op-techpreview The test cluster failed to come up for reasons that appear unrelated to this PR. Retrying. |
@cheesesashimi: The following test failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
/test e2e-gcp-op-techpreview |
PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
These changes were incorporated into #4327, so this PR can be closed. |
- What I did
Updated e2e tests for OCB API.
- How to verify it
Run the e2e test suite.
- Description for the changelog
Updates e2e tests to use OCB API