Skip to content

Conversation

brycahta
Copy link
Contributor

@brycahta brycahta commented May 9, 2022

Issue #, if available: N/A, it is difficult to enhance code-generator+unit test, then compare results with make build-controller when models used by unit tests and the application differ

Description of changes:

  • Updates EC2's testdata api models/shapes to align with the model version used by code-generator
  • Updates EC2 unit tests

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@ack-bot ack-bot requested review from a-hilaly and vijtrip2 May 9, 2022 16:55
Comment on lines +185 to +186
for _, iter35 := range ko.Spec.Routes {
if iter35.GatewayRef != nil {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh interesting. Did this start failing just because the api-2.json was super out of date?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, some fields were added to CreateRoute:

image

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh cool cool cool yep

Copy link
Member

@a-hilaly a-hilaly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@ack-bot ack-bot added the lgtm Indicates that a PR is ready to be merged. label May 10, 2022
@ack-bot
Copy link
Collaborator

ack-bot commented May 10, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: A-Hilaly, brycahta, RedbackThomson

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:
  • OWNERS [A-Hilaly,RedbackThomson,brycahta]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ack-bot ack-bot merged commit c651d2b into aws-controllers-k8s:main May 10, 2022
@brycahta brycahta deleted the ec2-test-updates branch May 10, 2022 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants