Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Farr <[email protected]>
  • Loading branch information
Xtansia committed Dec 19, 2024
1 parent 5f9b3ab commit 753af1d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
2 changes: 2 additions & 0 deletions spec/schemas/_common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1312,6 +1312,7 @@ components:
- total_download_size
- total_time_spent_in_millis
SegmentReplicationStats:
x-version-added: 2.10.0
oneOf:
- x-version-added: 2.10.0
x-version-removed: 2.12.0
Expand Down Expand Up @@ -1419,6 +1420,7 @@ components:
remote_store:
$ref: '#/components/schemas/RemoteStoreStats'
segment_replication:
x-version-added: 2.10.0
$ref: '#/components/schemas/SegmentReplicationStats'
required:
- count
Expand Down
9 changes: 4 additions & 5 deletions tests/default/_core/upgrade.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@ chapters:
- synopsis: Trigger upgrade (POST).
path: /_upgrade
method: POST
request:
payload:
allow_no_indices: false
expand_wildcards: closed
ignore_unavailable: false
parameters:
allow_no_indices: false
expand_wildcards: closed
ignore_unavailable: false
response:
status: 200

Expand Down
8 changes: 3 additions & 5 deletions tests/default/indices/upgrade.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,9 @@ chapters:
method: POST
parameters:
index: [movies]
request:
payload:
allow_no_indices: true
expand_wildcards: open
ignore_unavailable: true
allow_no_indices: true
expand_wildcards: open
ignore_unavailable: true
response:
status: 200

Expand Down

0 comments on commit 753af1d

Please sign in to comment.