diff --git a/spec/schemas/_common.yaml b/spec/schemas/_common.yaml index 474c03d5..eb84bd63 100644 --- a/spec/schemas/_common.yaml +++ b/spec/schemas/_common.yaml @@ -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 @@ -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 diff --git a/tests/default/_core/upgrade.yaml b/tests/default/_core/upgrade.yaml index 9075e1a6..74ec4c96 100644 --- a/tests/default/_core/upgrade.yaml +++ b/tests/default/_core/upgrade.yaml @@ -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 diff --git a/tests/default/indices/upgrade.yaml b/tests/default/indices/upgrade.yaml index 46d81bb0..f21c3984 100644 --- a/tests/default/indices/upgrade.yaml +++ b/tests/default/indices/upgrade.yaml @@ -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