Skip to content

Mw/net 4260 phase 2 automate the k8s sameness tests (#2579)#2681

Merged
wilkermichael merged 2 commits intorelease/1.2.xfrom
mw/net-4260-cherry-pick
Aug 9, 2023
Merged

Mw/net 4260 phase 2 automate the k8s sameness tests (#2579)#2681
wilkermichael merged 2 commits intorelease/1.2.xfrom
mw/net-4260-cherry-pick

Conversation

@wilkermichael
Copy link
Copy Markdown
Contributor

Cherry-pick of #2579

Changes proposed in this PR:

How I've tested this PR:

How I expect reviewers to test this PR:

Checklist:

@wilkermichael wilkermichael added pr/no-changelog PR does not need a corresponding .changelog entry pr/no-backport signals that a PR will not contain a backport label labels Jul 27, 2023
@wilkermichael wilkermichael enabled auto-merge (squash) July 27, 2023 21:18
* add kustomize files
- These reflect the different test cases
- sameness.yaml defines the ordered list of failovers
- static-server responds with a unique name so we can track failover order
- static-client includes both DNS and CURL in the image used so we can exec in for testing

* add sameness tests
- We do a bunch of infra setup for peering and partitions, but after the initial setup only partitions are tested
- We test service failover, dns failover and PQ failover scenarios

* add 4 kind clusters to make target
- The sameness tests require 4 kind clusters, so the make target will now spin up 4 kind clusters
- not all tests need 4 kind clusters, but the entire suite of tests can be run with 4

* increase kubectl timeout to 90s
- add variable for configuring timeout
- timeout was triggering locally on intel mac machine, so this timeout should cover our devs lowest performing machines

* add sameness test to test packages

* Fix comments on partition connect test
@wilkermichael wilkermichael force-pushed the mw/net-4260-cherry-pick branch 2 times, most recently from 791294b to 18e8faa Compare August 9, 2023 16:56
@wilkermichael wilkermichael force-pushed the mw/net-4260-cherry-pick branch from 18e8faa to d41f07c Compare August 9, 2023 22:29
@wilkermichael wilkermichael merged commit e7f74fc into release/1.2.x Aug 9, 2023
@wilkermichael wilkermichael deleted the mw/net-4260-cherry-pick branch August 9, 2023 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr/no-backport signals that a PR will not contain a backport label pr/no-changelog PR does not need a corresponding .changelog entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants