Skip to content

Commit

Permalink
deleting extra spaces and moving one chapter to prologue
Browse files Browse the repository at this point in the history
Signed-off-by: Tokesh <tokesh789@gmail.com>
  • Loading branch information
Tokesh committed Nov 17, 2024
1 parent 60a6ad3 commit 1c671fc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 -- \
Expand Down
21 changes: 9 additions & 12 deletions tests/plugins/replication/replica.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'
Expand Down

0 comments on commit 1c671fc

Please sign in to comment.