diff --git a/.github/workflows/test-spec.yml b/.github/workflows/test-spec.yml index f006843fa..cfcd224f3 100644 --- a/.github/workflows/test-spec.yml +++ b/.github/workflows/test-spec.yml @@ -79,7 +79,7 @@ jobs: - name: Run OpenSearch Cluster working-directory: tests/${{ matrix.entry.tests || 'default' }} run: docker compose up -d - + - name: Run Tests run: | npm run test:spec -- \ diff --git a/tests/plugins/replication/replica.yaml b/tests/plugins/replication/replica.yaml index d29445557..65676fe98 100644 --- a/tests/plugins/replication/replica.yaml +++ b/tests/plugins/replication/replica.yaml @@ -21,6 +21,15 @@ prologues: method: POST parameters: index: books + - path: /_cluster/settings + method: PUT + request: + payload: + persistent: + cluster: + remote: + leader-cluster: + seeds: ['172.22.0.3:9300'] epilogues: - path: /_plugins/_replication/{index}/_stop method: POST @@ -35,18 +44,6 @@ epilogues: method: DELETE status: [200, 404] chapters: - - synopsis: Establish connection. - path: /_cluster/settings - method: PUT - request: - payload: - persistent: - cluster: - remote: - leader-cluster: - seeds: ['172.22.0.3:9300'] - response: - status: 200 - synopsis: Start replication. path: /_plugins/_replication/{index}/_start version: '>= 1.1'