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

Clean up some of the reconcilation testing infrastructure #1977

Merged

Conversation

dprotaso
Copy link
Member

@dprotaso dprotaso commented Sep 5, 2018

  • extract out a generic object sorter from a specific lister
  • move the API typed lister to a separate subpackage under v1alpha1/testing
  • clean up readability of the API for extracting actions
  • use go aliasing help with readability now that we have two packages

@knative-prow-robot knative-prow-robot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label Sep 5, 2018
@dprotaso dprotaso force-pushed the reconciler-testing-separation branch from 5accfc5 to 584d94a Compare September 5, 2018 16:03
- extract out a generic object sorter from a specific lister
- move the API typed lister to a separate subpackage under
  v1alpha1/testing
- clean up readability of the API for extracting actions
- use go aliasing help with readability now that we have two packages
@dprotaso dprotaso force-pushed the reconciler-testing-separation branch from 584d94a to 4d62c45 Compare September 5, 2018 16:05
@dprotaso
Copy link
Member Author

dprotaso commented Sep 5, 2018

/assign @mattmoor @grantr

@adrcunha
Copy link
Contributor

adrcunha commented Sep 5, 2018

/test all

@mattmoor
Copy link
Member

/test pull-knative-serving-integration-tests

@mattmoor
Copy link
Member

cc @jonjohnsonjr Who was thinking of a similar split of some logic into pkg/reconciler/v1alpha1/testing.

/lgtm
/approve

Thanks, @dprotaso I definitely think this cleans things up. I look forward to more :)

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Sep 11, 2018
@knative-prow-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dprotaso, mattmoor

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

@knative-prow-robot knative-prow-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 11, 2018
@dprotaso
Copy link
Member Author

/test pull-knative-serving-integration-tests

1 similar comment
@mattmoor
Copy link
Member

/test pull-knative-serving-integration-tests

@knative-prow-robot knative-prow-robot merged commit fc693b9 into knative:master Sep 11, 2018
@dprotaso dprotaso deleted the reconciler-testing-separation branch September 11, 2018 23:17
dprotaso pushed a commit to dprotaso/serving that referenced this pull request Jan 11, 2021
bumping knative.dev/hack 4ed1ecb...ea9c9a0:
  > ea9c9a0 Add hermetic go mod aware handling to run_go_tool (knative#38)
bumping knative.dev/pkg 51c72e2...93874f0:
  > 93874f0 Drainer supports customized kubelet probe check (knative#1977)
bumping knative.dev/networking ecb89ce...c30dc94:
  > c30dc94 Use symlink for testdata version of config-network.yaml (knative#328)

Signed-off-by: Knative Automation <automation@knative.team>
dprotaso pushed a commit to dprotaso/serving that referenced this pull request Jan 11, 2021
```
bumping knative.dev/hack 4ed1ecb...ea9c9a0:
  > ea9c9a0 Add hermetic go mod aware handling to run_go_tool (knative#38)
bumping knative.dev/networking ecb89ce...c30dc94:
  > c30dc94 Use symlink for testdata version of config-network.yaml (knative#328)
bumping knative.dev/pkg 51c72e2...93874f0:
  > 93874f0 Drainer supports customized kubelet probe check (knative#1977)
```

Signed-off-by: Knative Automation <automation@knative.team>
dprotaso pushed a commit to dprotaso/serving that referenced this pull request Jan 12, 2021
bumping knative.dev/hack 4ed1ecb...ea9c9a0:
  > ea9c9a0 Add hermetic go mod aware handling to run_go_tool (knative#38)
bumping knative.dev/networking ecb89ce...3a89509:
  > 3a89509 As per discussion with @mattmoor keep drainer in pkg (knative#329)
  > c30dc94 Use symlink for testdata version of config-network.yaml (knative#328)
bumping knative.dev/pkg 51c72e2...93874f0:
  > 93874f0 Drainer supports customized kubelet probe check (knative#1977)

Signed-off-by: Knative Automation <automation@knative.team>
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. lgtm Indicates that a PR is ready to be merged. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants