From ba56b4018ddb267a346387c1c7b51974051f8b9c Mon Sep 17 00:00:00 2001 From: dblock Date: Tue, 17 Dec 2024 17:09:36 -0500 Subject: [PATCH] Fixed book and movie years. Signed-off-by: dblock --- tests/default/_core/mget.yaml | 2 +- tests/default/_core/msearch/index.yaml | 2 +- tests/default/_core/reindex/pipeline.yaml | 2 +- tests/default/cat/pending_tasks.yaml | 2 +- tests/default/cluster/pending_tasks.yaml | 2 +- tests/default/indices/delete_by_query.yaml | 4 ++-- tests/default/indices/delete_by_query/rethrottle.yaml | 4 ++-- tests/default/indices/msearch/index.yaml | 2 +- tests/default/transforms/preview.yaml | 2 +- tests/default/transforms/transform.yaml | 2 +- tests/default/transforms/transform/explain.yaml | 2 +- tests/default/transforms/transform/start.yaml | 2 +- tests/default/transforms/transform/stop.yaml | 2 +- 13 files changed, 15 insertions(+), 15 deletions(-) diff --git a/tests/default/_core/mget.yaml b/tests/default/_core/mget.yaml index 0d409ecf6..ee00dd57e 100644 --- a/tests/default/_core/mget.yaml +++ b/tests/default/_core/mget.yaml @@ -17,7 +17,7 @@ prologues: content_type: application/x-ndjson payload: - {create: {_index: books, _id: book1}} - - {author: Harper Lee, title: To Kill a Mockingbird, year: 60} + - {author: Harper Lee, title: To Kill a Mockingbird, year: 1960} - {create: {_index: movies, _id: movie1}} - {director: Bennett Miller, title: The Cruise, year: 1998} - {create: {_index: movies, _id: movie2}} diff --git a/tests/default/_core/msearch/index.yaml b/tests/default/_core/msearch/index.yaml index 7cb893404..1a3a3df74 100644 --- a/tests/default/_core/msearch/index.yaml +++ b/tests/default/_core/msearch/index.yaml @@ -17,7 +17,7 @@ prologues: content_type: application/x-ndjson payload: - {create: {_index: books, _id: book1}} - - {author: Harper Lee, title: To Kill a Mockingbird, year: 60} + - {author: Harper Lee, title: To Kill a Mockingbird, year: 1960} - {create: {_index: movies, _id: movie1}} - {director: Bennett Miller, title: The Cruise, year: 1998} - {create: {_index: movies, _id: movie2}} diff --git a/tests/default/_core/reindex/pipeline.yaml b/tests/default/_core/reindex/pipeline.yaml index 30a2fd6ac..a91ecc8a8 100644 --- a/tests/default/_core/reindex/pipeline.yaml +++ b/tests/default/_core/reindex/pipeline.yaml @@ -40,7 +40,7 @@ prologues: request: payload: title: Beauty and the Beast - year: 91 + year: 1991 status: [201] chapters: - synopsis: Transform documents using a pipeline. diff --git a/tests/default/cat/pending_tasks.yaml b/tests/default/cat/pending_tasks.yaml index 4a59f67ec..675386147 100644 --- a/tests/default/cat/pending_tasks.yaml +++ b/tests/default/cat/pending_tasks.yaml @@ -17,7 +17,7 @@ prologues: request: payload: title: Beauty and the Beast - year: 91 + year: 1991 status: [201] - path: /_reindex method: POST diff --git a/tests/default/cluster/pending_tasks.yaml b/tests/default/cluster/pending_tasks.yaml index f595fce7c..4a0e0781f 100644 --- a/tests/default/cluster/pending_tasks.yaml +++ b/tests/default/cluster/pending_tasks.yaml @@ -17,7 +17,7 @@ prologues: request: payload: title: Beauty and the Beast - year: 91 + year: 1991 status: [201] - path: /_reindex method: POST diff --git a/tests/default/indices/delete_by_query.yaml b/tests/default/indices/delete_by_query.yaml index b6c9c0a90..4c518fd03 100644 --- a/tests/default/indices/delete_by_query.yaml +++ b/tests/default/indices/delete_by_query.yaml @@ -14,9 +14,9 @@ prologues: content_type: application/x-ndjson payload: - {create: {_index: books, _id: book_1392214}} - - {author: Harper Lee, title: To Kill a Mockingbird, year: 60} + - {author: Harper Lee, title: To Kill a Mockingbird, year: 1960} - {create: {_index: books, _id: book_1392215}} - - {author: Elizabeth Rudnick, title: Beauty and the Beast, year: 91} + - {author: Elizabeth Rudnick, title: Beauty and the Beast, year: 1991} chapters: - synopsis: Delete documents in the index (full query term, script). path: /{index}/_delete_by_query diff --git a/tests/default/indices/delete_by_query/rethrottle.yaml b/tests/default/indices/delete_by_query/rethrottle.yaml index 3169ab20b..1e1293ab0 100644 --- a/tests/default/indices/delete_by_query/rethrottle.yaml +++ b/tests/default/indices/delete_by_query/rethrottle.yaml @@ -14,9 +14,9 @@ prologues: content_type: application/x-ndjson payload: - {create: {_index: books, _id: book_1392214}} - - {author: Harper Lee, title: To Kill a Mockingbird, year: 60} + - {author: Harper Lee, title: To Kill a Mockingbird, year: 1960} - {create: {_index: books, _id: book_1392215}} - - {author: Elizabeth Rudnick, title: Beauty and the Beast, year: 91} + - {author: Elizabeth Rudnick, title: Beauty and the Beast, year: 1991} - path: /books/_delete_by_query id: task method: POST diff --git a/tests/default/indices/msearch/index.yaml b/tests/default/indices/msearch/index.yaml index 53fbb7122..ac8560563 100644 --- a/tests/default/indices/msearch/index.yaml +++ b/tests/default/indices/msearch/index.yaml @@ -10,7 +10,7 @@ prologues: content_type: application/x-ndjson payload: - {create: {_index: books, _id: book1}} - - {author: Harper Lee, title: To Kill a Mockingbird, year: 60} + - {author: Harper Lee, title: To Kill a Mockingbird, year: 1960} - {create: {_index: books, _id: book2}} - {director: Bennett Miller, title: The Cruise, year: 1998} - {create: {_index: books, _id: book3}} diff --git a/tests/default/transforms/preview.yaml b/tests/default/transforms/preview.yaml index f26becd9f..1624e78d3 100644 --- a/tests/default/transforms/preview.yaml +++ b/tests/default/transforms/preview.yaml @@ -10,7 +10,7 @@ prologues: request: payload: title: Beauty and the Beast - year: 91 + year: 1991 status: [201] epilogues: - path: /movies diff --git a/tests/default/transforms/transform.yaml b/tests/default/transforms/transform.yaml index eaae0a839..fb53e422e 100644 --- a/tests/default/transforms/transform.yaml +++ b/tests/default/transforms/transform.yaml @@ -10,7 +10,7 @@ prologues: request: payload: title: Beauty and the Beast - year: 91 + year: 1991 status: [201] epilogues: - path: /_plugins/_transform/movies-to-films diff --git a/tests/default/transforms/transform/explain.yaml b/tests/default/transforms/transform/explain.yaml index 7adc70c4a..028b6d5b8 100644 --- a/tests/default/transforms/transform/explain.yaml +++ b/tests/default/transforms/transform/explain.yaml @@ -10,7 +10,7 @@ prologues: request: payload: title: Beauty and the Beast - year: 91 + year: 1991 status: [201] - path: /_plugins/_transform/movies-to-films method: PUT diff --git a/tests/default/transforms/transform/start.yaml b/tests/default/transforms/transform/start.yaml index 55d681bcf..dba5678e4 100644 --- a/tests/default/transforms/transform/start.yaml +++ b/tests/default/transforms/transform/start.yaml @@ -10,7 +10,7 @@ prologues: request: payload: title: Beauty and the Beast - year: 91 + year: 1991 status: [201] - path: /_plugins/_transform/movies-to-films method: PUT diff --git a/tests/default/transforms/transform/stop.yaml b/tests/default/transforms/transform/stop.yaml index 7f3f9276e..7671b35f7 100644 --- a/tests/default/transforms/transform/stop.yaml +++ b/tests/default/transforms/transform/stop.yaml @@ -10,7 +10,7 @@ prologues: request: payload: title: Beauty and the Beast - year: 91 + year: 1991 status: [201] - path: /_plugins/_transform/movies-to-films method: PUT