From 13d72904fbb0b020007e83a27a67dd5e7484777f Mon Sep 17 00:00:00 2001 From: Rishabh Maurya Date: Wed, 15 May 2024 15:59:12 -0700 Subject: [PATCH] move tests under lang-painless Signed-off-by: Rishabh Maurya --- .../10_derived_field_index_mapping_definition.yml | 2 +- .../painless}/derived_fields/20_derived_field_put_mapping.yml | 0 .../derived_fields/30_derived_field_search_definition.yml | 0 .../derived_fields/40_derived_field_fetch_and_highlight.yml | 0 4 files changed, 1 insertion(+), 1 deletion(-) rename {rest-api-spec/src/main/resources/rest-api-spec/test => modules/lang-painless/src/yamlRestTest/resources/rest-api-spec/test/painless}/derived_fields/10_derived_field_index_mapping_definition.yml (99%) rename {rest-api-spec/src/main/resources/rest-api-spec/test => modules/lang-painless/src/yamlRestTest/resources/rest-api-spec/test/painless}/derived_fields/20_derived_field_put_mapping.yml (100%) rename {rest-api-spec/src/main/resources/rest-api-spec/test => modules/lang-painless/src/yamlRestTest/resources/rest-api-spec/test/painless}/derived_fields/30_derived_field_search_definition.yml (100%) rename {rest-api-spec/src/main/resources/rest-api-spec/test => modules/lang-painless/src/yamlRestTest/resources/rest-api-spec/test/painless}/derived_fields/40_derived_field_fetch_and_highlight.yml (100%) diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/derived_fields/10_derived_field_index_mapping_definition.yml b/modules/lang-painless/src/yamlRestTest/resources/rest-api-spec/test/painless/derived_fields/10_derived_field_index_mapping_definition.yml similarity index 99% rename from rest-api-spec/src/main/resources/rest-api-spec/test/derived_fields/10_derived_field_index_mapping_definition.yml rename to modules/lang-painless/src/yamlRestTest/resources/rest-api-spec/test/painless/derived_fields/10_derived_field_index_mapping_definition.yml index 0d6725dc5a353..287e992183d38 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/derived_fields/10_derived_field_index_mapping_definition.yml +++ b/modules/lang-painless/src/yamlRestTest/resources/rest-api-spec/test/painless/derived_fields/10_derived_field_index_mapping_definition.yml @@ -401,4 +401,4 @@ derived_object.array_of_long: gte: 3 - - match: { hits.total: 4 } + - match: { hits.total: 3 } diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/derived_fields/20_derived_field_put_mapping.yml b/modules/lang-painless/src/yamlRestTest/resources/rest-api-spec/test/painless/derived_fields/20_derived_field_put_mapping.yml similarity index 100% rename from rest-api-spec/src/main/resources/rest-api-spec/test/derived_fields/20_derived_field_put_mapping.yml rename to modules/lang-painless/src/yamlRestTest/resources/rest-api-spec/test/painless/derived_fields/20_derived_field_put_mapping.yml diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/derived_fields/30_derived_field_search_definition.yml b/modules/lang-painless/src/yamlRestTest/resources/rest-api-spec/test/painless/derived_fields/30_derived_field_search_definition.yml similarity index 100% rename from rest-api-spec/src/main/resources/rest-api-spec/test/derived_fields/30_derived_field_search_definition.yml rename to modules/lang-painless/src/yamlRestTest/resources/rest-api-spec/test/painless/derived_fields/30_derived_field_search_definition.yml diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/derived_fields/40_derived_field_fetch_and_highlight.yml b/modules/lang-painless/src/yamlRestTest/resources/rest-api-spec/test/painless/derived_fields/40_derived_field_fetch_and_highlight.yml similarity index 100% rename from rest-api-spec/src/main/resources/rest-api-spec/test/derived_fields/40_derived_field_fetch_and_highlight.yml rename to modules/lang-painless/src/yamlRestTest/resources/rest-api-spec/test/painless/derived_fields/40_derived_field_fetch_and_highlight.yml