From 652b78f2b48869f5d77c2469443dec8d0308adae Mon Sep 17 00:00:00 2001 From: Fernando Briano Date: Wed, 9 Dec 2020 08:40:26 +0000 Subject: [PATCH] Wraps timestamp values in quotes in preview_transforms YAML test (#66046) --- .../test/transform/preview_transforms.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/test/transform/preview_transforms.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/transform/preview_transforms.yml index 6615aa0fc6676..e82dbcfadd7c8 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/test/transform/preview_transforms.yml +++ b/x-pack/plugin/src/test/resources/rest-api-spec/test/transform/preview_transforms.yml @@ -84,17 +84,17 @@ setup: } } - match: { preview.0.airline: foo } - - match: { preview.0.by-hour: 2017-02-18T00:00:00.000Z } + - match: { preview.0.by-hour: "2017-02-18T00:00:00.000Z" } - match: { preview.0.avg_response: 1.0 } - match: { preview.0.time.max: "2017-02-18T00:30:00.000Z" } - match: { preview.0.time.min: "2017-02-18T00:00:00.000Z" } - match: { preview.1.airline: bar } - - match: { preview.1.by-hour: 2017-02-18T01:00:00.000Z } + - match: { preview.1.by-hour: "2017-02-18T01:00:00.000Z" } - match: { preview.1.avg_response: 42.0 } - match: { preview.1.time.max: "2017-02-18T01:00:00.000Z" } - match: { preview.1.time.min: "2017-02-18T01:00:00.000Z" } - match: { preview.2.airline: foo } - - match: { preview.2.by-hour: 2017-02-18T01:00:00.000Z } + - match: { preview.2.by-hour: "2017-02-18T01:00:00.000Z" } - match: { preview.2.avg_response: 42.0 } - match: { preview.2.time.max: "2017-02-18T01:01:00.000Z" } - match: { preview.2.time.min: "2017-02-18T01:01:00.000Z" } @@ -135,15 +135,15 @@ setup: } } - match: { preview.0.airline: foo } - - match: { preview.0.by-hour: 2017-02-18T00:00:00.000Z } + - match: { preview.0.by-hour: "2017-02-18T00:00:00.000Z" } - match: { preview.0.avg_response: 1.0 } - match: { preview.0.my_field: 42 } - match: { preview.1.airline: bar } - - match: { preview.1.by-hour: 2017-02-18T01:00:00.000Z } + - match: { preview.1.by-hour: "2017-02-18T01:00:00.000Z" } - match: { preview.1.avg_response: 42.0 } - match: { preview.1.my_field: 42 } - match: { preview.2.airline: foo } - - match: { preview.2.by-hour: 2017-02-18T01:00:00.000Z } + - match: { preview.2.by-hour: "2017-02-18T01:00:00.000Z" } - match: { preview.2.avg_response: 42.0 } - match: { preview.2.my_field: 42 } - match: { generated_dest_index.mappings.properties.airline.type: "keyword" }