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

Openstack golden servergrouptests #9874

Merged

Conversation

olemarkus
Copy link
Member

Openstack servergroup test had a rather intricate method for building tasks and diffing them. Instead of using that specific code, the test now just generates golden outputs based on the same spec, which makes the tests a whole lot more manageable, as well as easier to figure out what would cause failures.

I did some rudimentary bit flipping in servergroup.go to see that this indeed causes test failures.

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Sep 5, 2020
@k8s-ci-robot k8s-ci-robot added the area/provider/openstack Issues or PRs related to openstack provider label Sep 5, 2020
@olemarkus
Copy link
Member Author

/cc @johngmyers
Something like this you asked for in #9575 ?

@olemarkus olemarkus force-pushed the openstack-golden-servergrouptests branch from b54a01b to f5ac6d7 Compare September 5, 2020 18:16
@olemarkus olemarkus force-pushed the openstack-golden-servergrouptests branch from f5ac6d7 to 54ccc92 Compare September 5, 2020 18:22
@johngmyers
Copy link
Member

/lgtm
/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: johngmyers, olemarkus

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added lgtm "Looks good to me", indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Sep 5, 2020
@k8s-ci-robot k8s-ci-robot merged commit d7fbc2f into kubernetes:master Sep 5, 2020
@k8s-ci-robot k8s-ci-robot added this to the v1.19 milestone Sep 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/provider/openstack Issues or PRs related to openstack provider cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants