From abc025e18bc3b3113bf0a2b5df0775b1566b1386 Mon Sep 17 00:00:00 2001 From: Clinton Gormley Date: Wed, 24 Aug 2016 14:55:02 +0200 Subject: [PATCH] Fixed the reindex_rethrottle REST tests The API was renamed from reindex.rethrottle to reindex_rethrottle --- .../rest-api-spec/test/delete_by_query/70_throttle.yaml | 4 ++-- .../resources/rest-api-spec/test/reindex/70_throttle.yaml | 4 ++-- .../rest-api-spec/test/update_by_query/60_throttle.yaml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/reindex/src/test/resources/rest-api-spec/test/delete_by_query/70_throttle.yaml b/modules/reindex/src/test/resources/rest-api-spec/test/delete_by_query/70_throttle.yaml index 14b4ae99eab..fc6081a3de8 100644 --- a/modules/reindex/src/test/resources/rest-api-spec/test/delete_by_query/70_throttle.yaml +++ b/modules/reindex/src/test/resources/rest-api-spec/test/delete_by_query/70_throttle.yaml @@ -120,7 +120,7 @@ - set: {task: task} - do: - reindex.rethrottle: + reindex_rethrottle: requests_per_second: -1 task_id: $task @@ -180,7 +180,7 @@ - set: {task: task} - do: - reindex.rethrottle: + reindex_rethrottle: requests_per_second: 1 task_id: $task diff --git a/modules/reindex/src/test/resources/rest-api-spec/test/reindex/70_throttle.yaml b/modules/reindex/src/test/resources/rest-api-spec/test/reindex/70_throttle.yaml index 74ff3f6f615..27cdecf93f4 100644 --- a/modules/reindex/src/test/resources/rest-api-spec/test/reindex/70_throttle.yaml +++ b/modules/reindex/src/test/resources/rest-api-spec/test/reindex/70_throttle.yaml @@ -142,7 +142,7 @@ - set: {task: task} - do: - reindex.rethrottle: + reindex_rethrottle: requests_per_second: -1 task_id: $task @@ -197,7 +197,7 @@ - set: {task: task} - do: - reindex.rethrottle: + reindex_rethrottle: requests_per_second: 1 task_id: $task diff --git a/modules/reindex/src/test/resources/rest-api-spec/test/update_by_query/60_throttle.yaml b/modules/reindex/src/test/resources/rest-api-spec/test/update_by_query/60_throttle.yaml index 59ca0976da2..eb64bd8d382 100644 --- a/modules/reindex/src/test/resources/rest-api-spec/test/update_by_query/60_throttle.yaml +++ b/modules/reindex/src/test/resources/rest-api-spec/test/update_by_query/60_throttle.yaml @@ -108,7 +108,7 @@ - set: {task: task} - do: - reindex.rethrottle: + reindex_rethrottle: requests_per_second: -1 task_id: $task @@ -155,7 +155,7 @@ - set: {task: task} - do: - reindex.rethrottle: + reindex_rethrottle: requests_per_second: 1 task_id: $task