Skip to content

Commit bee495a

Browse files
add experimental features flag option for tests
Signed-off-by: Neetika Singhal <[email protected]>
1 parent 7cae0b8 commit bee495a

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/opensearch-cluster/docker-compose.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ services:
77
- '9200:9200'
88
- '9600:9600'
99
environment:
10+
- '${OPENSEARCH_EXPERIMENTAL_FEATURES}'
1011
- 'OPENSEARCH_INITIAL_ADMIN_PASSWORD=${OPENSEARCH_PASSWORD:-myStrongPassword123!}'
1112
- discovery.type=single-node
1213
- path.repo=/tmp/opensearch/repo
13-
- plugins.index_state_management.job_interval=1
14+
- plugins.index_state_management.job_interval=1

.github/workflows/test-spec.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ jobs:
2626
- {version: 1.3.17, admin_password: admin}
2727
- {version: 2.0.0, admin_password: admin}
2828
- {version: 2.15.0}
29-
- {version: 2.16.0, hub: opensearchstaging, ref: '@sha256:50fbfe3b95c41e92a113ada3e80513ba4524dfc8a25dc6aaeff2bbe1e1145d5f'}
29+
- version: 2.16.0
30+
hub: opensearchstaging
31+
ref: '@sha256:50fbfe3b95c41e92a113ada3e80513ba4524dfc8a25dc6aaeff2bbe1e1145d5f'
32+
features: '-Dopensearch.experimental.feature.tiered_remote_index.enabled=true'
3033

3134
name: test-opensearch-spec (version=${{ matrix.entry.version }}, hub=${{ matrix.entry.hub || 'opensearchproject' }})
3235
runs-on: ubuntu-latest
@@ -36,6 +39,7 @@ jobs:
3639
OPENSEARCH_DOCKER_REF: ${{ matrix.entry.ref }}
3740
OPENSEARCH_VERSION: ${{ matrix.entry.version }}
3841
OPENSEARCH_PASSWORD: ${{ matrix.entry.admin_password || 'myStrongPassword123!' }}
42+
OPENSEARCH_EXPERIMENTAL_FEATURES: ${{ matrix.entry.features || ''}}
3943

4044
steps:
4145
- name: Checkout Repo

0 commit comments

Comments
 (0)