Skip to content

Commit 68342f1

Browse files
authored
Add CCR integ tests to the test manifest (opensearch-project#2107)
Signed-off-by: Ankit Kala <[email protected]>
1 parent 04a44cc commit 68342f1

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

DEVELOPER_GUIDE.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
- [Run Tests](#run-tests-1)
2121
- [Regression Tests](#regression-tests)
2222
- [Testing in Jenkins](#testing-in-jenkins)
23+
- [Integ Tests in Jenkins](#integ-tests-in-jenkins)
2324

2425
# Developer Guide
2526

@@ -288,3 +289,8 @@ Make your code changes in a branch, e.g. `jenkins-changes`, including to any of
288289
* Script path: `tests/jenkins/jobs/Build_DryRun_Jenkinsfile`
289290

290291
You can now iterate by running the job in Jenkins, examining outputs, and pushing updates to GitHub.
292+
293+
#### Integ Tests in Jenkins
294+
- Opensearch bundle build executes the integration tests for the opensearch as well as plugins.
295+
- To add integ tests for a new plugin, add the plugin in the latest version [test manifest](manifests/2.0.0/opensearch-2.0.0-test.yml).
296+
- The test execution is triggered by the [integtest.sh](scripts/default/integtest.sh). In case a custom implementation is required, plugin owner can add that script in their own repo and [script_finder](src/paths/script_finder.py) will pick that up over the default script.

manifests/2.0.0/opensearch-2.0.0-test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ components:
3838
additional-cluster-configs:
3939
plugins.destination.host.deny_list: [10.0.0.0/8, 127.0.0.1]
4040

41+
- name: cross-cluster-replication
42+
integ-test:
43+
test-configs:
44+
- with-security
45+
- without-security
46+
4147
- name: notifications
4248
working-directory: notifications
4349
integ-test:

0 commit comments

Comments
 (0)