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

[test][controller] Fix multi-region tests to use VeniceTwoLayerMultiRegionMultiClusterWrapper #1067

Merged
merged 2 commits into from
Jul 17, 2024

Conversation

nisargthakkar
Copy link
Contributor

@nisargthakkar nisargthakkar commented Jul 16, 2024

Fix multi-region tests to use VeniceTwoLayerMultiRegionMultiClusterWrapper

There are several tests that create multi-region clusters through manual, non-standard setups. An example of this is that many tests create a multi-region cluster that shares the same Kafka cluster between them. While this might be valuable for some tests, it is a maintenance overhead for most of them. Our test suite already has VeniceTwoLayerMultiRegionMultiClusterWrapper that can be used directly for all current use-cases.

This commit replaces all tests that setup a multi-region test cluster through non-standard means to use VeniceTwoLayerMultiRegionMultiClusterWrapper instead.

This commit also fixes an issue where if the config to enable active active by default for batch-only stores is enabled, new store creation for system stores makes them also active-active. This was masked previously by different configs set on child and parent controllers. So, running this config in parent controller would have been problematic.

This change exposed another bug that storage persona only runs validations when running in a multi-region setups while there is nothing conceptually blocking it from running in a single-region setup. This will be addressed in a follow up PR.

How was this PR tested?

GH CI

Does this PR introduce any user-facing changes?

  • No. You can skip the rest of this section.
  • Yes. Make sure to explain your proposed changes and call out the behavior change.

@nisargthakkar nisargthakkar enabled auto-merge (squash) July 16, 2024 06:40
@nisargthakkar
Copy link
Contributor Author

Thanks a lot for the review @KaiSernLim

@nisargthakkar nisargthakkar merged commit 979fd05 into linkedin:main Jul 17, 2024
32 checks passed
@nisargthakkar nisargthakkar deleted the fixMultiRegionTests branch July 17, 2024 04:11
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.

2 participants