-
Notifications
You must be signed in to change notification settings - Fork 2.8k
test(aws): introduce first fixture-based #5092
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
test(aws): introduce first fixture-based #5092
Conversation
Signed-off-by: ivan katliarchuk <[email protected]>
* master: chore(filter-tags): pre-process filter tags chore(filter-tags): pre-process filter tags chore(filter-tags): pre-process filter tags chore(deps): bump the dev-dependencies group across 1 directory with 21 updates test(domain-filter): simple filters on domain exclusion (kubernetes-sigs#5064) chore(deps): bump nosborn/github-action-markdown-cli ci(docs): add markdown linters and editorconfig (kubernetes-sigs#5055) docs: update and refactor contribution part (kubernetes-sigs#5073) fix(chart): update rbac for F5 transportserver source (kubernetes-sigs#5066) fix(chart): non-string types on svcaccount annotations (kubernetes-sigs#5067) Update aws.md fix: expand tabs in ClouDNS entry fix alignment feat(docs): add ClouDNS webhook provider to readme chore(filter-tags): pre-process tags chore(deps): bump the dev-dependencies group across 1 directory with 22 updates Fix:If multiple targets are part of an OCI provider record operation, create a new record for each target.
Signed-off-by: ivan katliarchuk <[email protected]>
/label tide/merge-method-squash |
It's clearly easier this way, it LVGTM. |
/retitle test(aws): introduce first fixture-based |
The solor purpose is to logically separate a specific implementation of mocks or other testing constructs that we use in testing, from a testing, sort of test utils. Is not strictly required, I could add it to a fixture_test. What's the preference is? |
Then would you please name it accordingly ?
My main concern is that should be named accordingly with its purpose. I do not have a strong opinion of where it should go. |
Signed-off-by: ivan katliarchuk <[email protected]>
Got it. renamed to |
Sounds good, thanks 👍 |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mloiseleur 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 |
* master: (27 commits) test(aws): introduce first fixture-based (kubernetes-sigs#5092) chore(makefile): add helper and document targets feat: Updated chart for v1.15.2 release chore(makefile): add helper and document targets chore(filter-tags): pre-process filter tags chore(filter-tags): pre-process filter tags chore(filter-tags): pre-process filter tags chore(deps): bump the dev-dependencies group across 1 directory with 21 updates test(domain-filter): simple filters on domain exclusion (kubernetes-sigs#5064) chore(deps): bump nosborn/github-action-markdown-cli ci(docs): add markdown linters and editorconfig (kubernetes-sigs#5055) Address PR comments docs: update and refactor contribution part (kubernetes-sigs#5073) fix(chart): update rbac for F5 transportserver source (kubernetes-sigs#5066) fix(chart): non-string types on svcaccount annotations (kubernetes-sigs#5067) Update aws.md fix: expand tabs in ClouDNS entry fix alignment feat(docs): add ClouDNS webhook provider to readme chore(filter-tags): pre-process tags ...
* master: (33 commits) docs(proposal): support multiple replicas with leader election (kubernetes-sigs#5051) feat(chart): automate helm json schema (kubernetes-sigs#5075) test(aws): introduce first fixture-based (kubernetes-sigs#5092) chore(makefile): add helper and document targets feat: Updated chart for v1.15.2 release chore(makefile): add helper and document targets chore(filter-tags): pre-process filter tags chore(filter-tags): pre-process filter tags chore(filter-tags): pre-process filter tags chore(deps): bump the dev-dependencies group across 1 directory with 21 updates test(domain-filter): simple filters on domain exclusion (kubernetes-sigs#5064) chore(deps): bump nosborn/github-action-markdown-cli ci(docs): add markdown linters and editorconfig (kubernetes-sigs#5055) Address PR comments docs: update and refactor contribution part (kubernetes-sigs#5073) fix(chart): update rbac for F5 transportserver source (kubernetes-sigs#5066) fix(chart): non-string types on svcaccount annotations (kubernetes-sigs#5067) Update aws.md fix: expand tabs in ClouDNS entry fix alignment ...
* master: (97 commits) chore(formatting): fix infected files with correct formatting (kubernetes-sigs#5099) docs: Fix managed-record-type argument docs(proposal): support multiple replicas with leader election (kubernetes-sigs#5051) feat(chart): automate helm json schema (kubernetes-sigs#5075) docs(proposal): update proposal template, add statuses test(aws): introduce first fixture-based (kubernetes-sigs#5092) chore(makefile): add helper and document targets feat: Updated chart for v1.15.2 release chore(makefile): add helper and document targets chore(filter-tags): pre-process filter tags chore(filter-tags): pre-process filter tags chore(filter-tags): pre-process filter tags chore(deps): bump the dev-dependencies group across 1 directory with 21 updates test(domain-filter): simple filters on domain exclusion (kubernetes-sigs#5064) chore(deps): bump nosborn/github-action-markdown-cli ci(docs): add markdown linters and editorconfig (kubernetes-sigs#5055) Address PR comments docs: update and refactor contribution part (kubernetes-sigs#5073) fix(chart): update rbac for F5 transportserver source (kubernetes-sigs#5066) fix(chart): non-string types on svcaccount annotations (kubernetes-sigs#5067) ...
* master: (31 commits) fix(source): debug log on gateway target detection Update docs/sources/service.md chore(formatting): fix infected files with correct formatting (kubernetes-sigs#5099) docs: Fix managed-record-type argument Update docs/sources/service.md docs(proposal): support multiple replicas with leader election (kubernetes-sigs#5051) fixed golangci-lint config updated MD files updated MD files feat(chart): automate helm json schema (kubernetes-sigs#5075) docs(proposal): update proposal template, add statuses test(aws): introduce first fixture-based (kubernetes-sigs#5092) chore(makefile): add helper and document targets feat: Updated chart for v1.15.2 release chore(makefile): add helper and document targets chore(filter-tags): pre-process filter tags chore(filter-tags): pre-process filter tags chore(filter-tags): pre-process filter tags chore(deps): bump the dev-dependencies group across 1 directory with 21 updates update service.md, service.go ...
Description
What is the difference in between https://github.com/kubernetes-sigs/external-dns/blob/master/provider/aws/aws_test.go and this approach?
Example pull request #5058, it improves batching functionality, but it's quite challenging to create a setup of 100+ zones as example.
Example bug #3718 not strictly related, but nice to have more variations of domains, as domain filters have they own logic, plus on top there is a bit of provider specific implementation
Example bug #4549 where external-dns behave differently when number of zones and records is ~1000
Checklist