Skip to content

Conversation

@solmonk
Copy link
Contributor

@solmonk solmonk commented Jun 22, 2023

What type of PR is this?

bug

Which issue does this PR fix:

What does this PR do / Why do we need it:
Fixes multiple bugs for testing

If an issue # is not available please add repro steps and logs from aws-gateway-controller showing the issue:

Testing done on this change:

make e2etest

Conformance test results also updated.

Automation added to e2e:

Will this PR introduce any new dependencies?:

Will this break upgrades or downgrades. Has updating a running cluster been tested?:

Does this PR introduce any user-facing change?:


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

@coveralls
Copy link

Pull Request Test Coverage Report for Build 5350229893

  • 4 of 7 (57.14%) changed or added relevant lines in 3 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage remained the same at 32.456%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pkg/latticestore/latticestore.go 1 4 25.0%
Files with Coverage Reduction New Missed Lines %
pkg/latticestore/latticestore.go 1 92.88%
Totals Coverage Status
Change from base Build 5315087065: 0.0%
Covered Lines: 3279
Relevant Lines: 10103

💛 - Coveralls

REGION=us-west-2 CLUSTER_LOCAL_GATEWAY=my-hotel TARGET_GROUP_NAME_LEN_MODE="long" \
make run
```

Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: can you change
kubectl apply -f example my-hotel-gateway.yaml to
kubectl apply -f examples/my-hotel-gateway.yaml ?

@coveralls
Copy link

coveralls commented Jun 23, 2023

Pull Request Test Coverage Report for Build 5359131441

  • 4 of 7 (57.14%) changed or added relevant lines in 3 files are covered.
  • 29 unchanged lines in 4 files lost coverage.
  • Overall coverage increased (+0.5%) to 32.924%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pkg/latticestore/latticestore.go 1 4 25.0%
Files with Coverage Reduction New Missed Lines %
pkg/latticestore/latticestore.go 1 92.88%
pkg/gateway/model_build_lattice_service.go 4 36.27%
pkg/deploy/lattice/target_group_synthesizer.go 11 82.46%
pkg/deploy/lattice/target_group_manager.go 13 92.27%
Totals Coverage Status
Change from base Build 5315087065: 0.5%
Covered Lines: 3353
Relevant Lines: 10184

💛 - Coveralls

Copy link
Contributor

@liwenwu-amazon liwenwu-amazon left a comment

Choose a reason for hiding this comment

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

LGTM, with some minor comments on conformance test md

| | [GatewaySecretReferenceGrantAllInNamespace](https://github.com/kubernetes-sigs/gateway-api/blob/main/conformance/tests/gateway-secret-reference-grant-all-in-namespace.go) | NA | same as above
| | [GatewaySecretReferenceGrantSpecific](https://github.com/kubernetes-sigs/gateway-api/blob/main/conformance/tests/gateway-secret-reference-grant-specific.go) | NA | same as above
| | [GatewaySecretInvalidReferenceGrants](https://github.com/kubernetes-sigs/gateway-api/blob/main/conformance/tests/gateway-secret-invalid-reference-grant.go) | N/A | VPC Lattice supports ACM certs |
| | [GatewaySecretMissingReferenceGrant](https://github.com/kubernetes-sigs/gateway-api/blob/main/conformance/tests/gateway-secret-missing-reference-grant.go) | N/A | same as above
Copy link
Contributor

Choose a reason for hiding this comment

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

can you replace "same as above" with exact wording

@coveralls
Copy link

Pull Request Test Coverage Report for Build 5359517420

  • 4 of 7 (57.14%) changed or added relevant lines in 3 files are covered.
  • 29 unchanged lines in 4 files lost coverage.
  • Overall coverage increased (+0.5%) to 32.924%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pkg/latticestore/latticestore.go 1 4 25.0%
Files with Coverage Reduction New Missed Lines %
pkg/latticestore/latticestore.go 1 92.88%
pkg/gateway/model_build_lattice_service.go 4 36.27%
pkg/deploy/lattice/target_group_synthesizer.go 11 82.46%
pkg/deploy/lattice/target_group_manager.go 13 92.27%
Totals Coverage Status
Change from base Build 5315087065: 0.5%
Covered Lines: 3353
Relevant Lines: 10184

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants