-
Notifications
You must be signed in to change notification settings - Fork 275
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
Add support for multiple clusters for integration tests (CCR) #2066
Comments
[Triage] Adding @ankitkala, any reason why we cant re-use the performance testing setup that is out there for integration testing? |
I think both |
@peterzhuamazon @gaiksaya What would it take to support multiple clusters for CCR integration test? I think we can specifically spin up multiple clusters just for CCR tests as we are running parallely now. |
There are several big changes needs to be done in test framework. |
Practically speaking I would introduce test configuration settings that define the cluster configuration, e.g.: - name: cross-cluster-replication
integ-test:
topology: multi-cluster
test-configs:
- with-security
- without-security or something more elaborate - name: cross-cluster-replication
integ-test:
topology:
- name: cluster1
nodes: 3
- name: cluster2
...
test-configs:
- with-security
- without-security
- This is a good opportunity to revisit whether - multi-cluster: &multi-cluster
nodes: 3
- name: cross-cluster-replication
integ-test:
- name: with-security
security: true
topology: &multi-cluster |
@ankitkala Would you be able to create a PR with the above changes? We currently do not have bandwidth to support customized testing process and would really appreciate if you can help implement this functionality. |
I'll be OOO till 17/6. Let me see if I can pick this up after I'm back. |
Needs prioritisation @manishdev-amzn |
@manishdev-amzn can you please prioritize this issue to automat the integration test for CCR? |
@monu-aws would be working on this. |
Hi @dblock @ankitkala
This can be implemented by creating the two clusters by using LocalTestCluster to create two clusters and pass the endpoints to the integtest.sh script to run the tests. |
In that case, instead of |
@ankitkala @monu-aws Whats the current status of this issue? |
@bbarani, changes are already merged in both CCR and Build repo. |
Closing as duplicate of #3448 |
Is your feature request related to a problem? Please describe
Coming from opensearch-project/cross-cluster-replication#383 (comment), CCR needs a multi-node cluster for replication tests. Because of the different scenarios under test with security, CCR ITs create local clusters with specific configurations for each test case. An analysis put that number of different configurations at 7 clusters. This approach was discussed on this PR where I updated the language around recommendations/practices for testing in OpenSearch.
Describe the solution you'd like
Need to find a path forward to test at least basic CCR replication functionality for the complete distribution. This could be a "good enough" multi-node cluster available to all plugins to run integration tests.
Describe alternatives you've considered
No response
Additional context
#1499
#1428
The text was updated successfully, but these errors were encountered: