From 5d8bc846a6d06dc6bf3626a955c067dcf29fde44 Mon Sep 17 00:00:00 2001 From: Justin Kambic Date: Wed, 1 May 2019 12:01:54 -0400 Subject: [PATCH] Update API test fixtures to account for changed query. --- .../uptime/graphql/fixtures/monitor_list.json | 20 +++++++++++++++++++ .../fixtures/monitor_list_down_filtered.json | 4 ++++ .../fixtures/monitor_list_up_filtered.json | 16 +++++++++++++++ 3 files changed, 40 insertions(+) diff --git a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_list.json b/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_list.json index 01a6ae6cda309..dc2e4541777a1 100644 --- a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_list.json +++ b/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_list.json @@ -5,6 +5,8 @@ "id": { "key": "auto-http-0X131221E73F825974", "url": "https://www.google.com/" }, "ping": { "timestamp": "2019-01-28T18:43:15.077Z", + "container": null, + "kubernetes": null, "monitor": { "duration": { "us": 132169 }, "id": "auto-http-0X131221E73F825974", @@ -47,6 +49,8 @@ "id": { "key": "auto-http-0X3675F89EF0612091", "url": "http://localhost:12349/" }, "ping": { "timestamp": "2019-01-28T18:43:15.077Z", + "container": null, + "kubernetes": null, "monitor": { "duration": { "us": 3331 }, "id": "auto-http-0X3675F89EF0612091", @@ -89,6 +93,8 @@ "id": { "key": "auto-http-0X970CBD2F2102BFA8", "url": "http://www.google.com/" }, "ping": { "timestamp": "2019-01-28T18:43:15.077Z", + "container": null, + "kubernetes": null, "monitor": { "duration": { "us": 118727 }, "id": "auto-http-0X970CBD2F2102BFA8", @@ -131,6 +137,8 @@ "id": { "key": "auto-http-0X9CB71300ABD5A2A8", "url": "https://www.github.com/" }, "ping": { "timestamp": "2019-01-28T18:43:15.077Z", + "container": null, + "kubernetes": null, "monitor": { "duration": { "us": 247244 }, "id": "auto-http-0X9CB71300ABD5A2A8", @@ -173,6 +181,8 @@ "id": { "key": "auto-http-0XA8096548ECEB85B7", "url": "http://www.example.com/" }, "ping": { "timestamp": "2019-01-28T18:43:07.078Z", + "container": null, + "kubernetes": null, "monitor": { "duration": { "us": 4751074 }, "id": "auto-http-0XA8096548ECEB85B7", @@ -215,6 +225,8 @@ "id": { "key": "auto-http-0XC9CDA429418EDC2B", "url": "https://www.wikipedia.org/" }, "ping": { "timestamp": "2019-01-28T18:42:55.074Z", + "container": null, + "kubernetes": null, "monitor": { "duration": { "us": 1164812 }, "id": "auto-http-0XC9CDA429418EDC2B", @@ -257,6 +269,8 @@ "id": { "key": "auto-http-0XD9AE729FC1C1E04A", "url": "http://www.reddit.com/" }, "ping": { "timestamp": "2019-01-28T18:43:13.074Z", + "container": null, + "kubernetes": null, "monitor": { "duration": { "us": 299586 }, "id": "auto-http-0XD9AE729FC1C1E04A", @@ -299,6 +313,8 @@ "id": { "key": "auto-http-0XDD2D4E60FD4A61C3", "url": "https://www.elastic.co" }, "ping": { "timestamp": "2019-01-28T18:43:13.074Z", + "container": null, + "kubernetes": null, "monitor": { "duration": { "us": 850870 }, "id": "auto-http-0XDD2D4E60FD4A61C3", @@ -341,6 +357,8 @@ "id": { "key": "auto-http-0XE3B163481423197D", "url": "https://news.google.com/" }, "ping": { "timestamp": "2019-01-28T18:42:55.074Z", + "container": null, + "kubernetes": null, "monitor": { "duration": { "us": 2059606 }, "id": "auto-http-0XE3B163481423197D", @@ -383,6 +401,8 @@ "id": { "key": "auto-tcp-0X81440A68E839814C", "url": "tcp://localhost:9200" }, "ping": { "timestamp": "2019-01-28T18:43:16.078Z", + "container": null, + "kubernetes": null, "monitor": { "duration": { "us": 3328 }, "id": "auto-tcp-0X81440A68E839814C", diff --git a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_list_down_filtered.json b/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_list_down_filtered.json index 48de497bb1736..676c422d107b4 100644 --- a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_list_down_filtered.json +++ b/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_list_down_filtered.json @@ -5,6 +5,8 @@ "id": { "key": "auto-http-0X3675F89EF0612091", "url": "http://localhost:12349/" }, "ping": { "timestamp": "2019-01-28T18:43:15.077Z", + "container": null, + "kubernetes": null, "monitor": { "duration": { "us": 3331 }, "id": "auto-http-0X3675F89EF0612091", @@ -47,6 +49,8 @@ "id": { "key": "auto-http-0XA8096548ECEB85B7", "url": "http://www.example.com/" }, "ping": { "timestamp": "2019-01-28T18:43:07.078Z", + "container": null, + "kubernetes": null, "monitor": { "duration": { "us": 4751074 }, "id": "auto-http-0XA8096548ECEB85B7", diff --git a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_list_up_filtered.json b/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_list_up_filtered.json index 5dc5e7e8db80e..883bbab4818ff 100644 --- a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_list_up_filtered.json +++ b/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_list_up_filtered.json @@ -5,6 +5,8 @@ "id": { "key": "auto-http-0X131221E73F825974", "url": "https://www.google.com/" }, "ping": { "timestamp": "2019-01-28T18:43:15.077Z", + "container": null, + "kubernetes": null, "monitor": { "duration": { "us": 132169 }, "id": "auto-http-0X131221E73F825974", @@ -47,6 +49,8 @@ "id": { "key": "auto-http-0X970CBD2F2102BFA8", "url": "http://www.google.com/" }, "ping": { "timestamp": "2019-01-28T18:43:15.077Z", + "container": null, + "kubernetes": null, "monitor": { "duration": { "us": 118727 }, "id": "auto-http-0X970CBD2F2102BFA8", @@ -89,6 +93,8 @@ "id": { "key": "auto-http-0X9CB71300ABD5A2A8", "url": "https://www.github.com/" }, "ping": { "timestamp": "2019-01-28T18:43:15.077Z", + "container": null, + "kubernetes": null, "monitor": { "duration": { "us": 247244 }, "id": "auto-http-0X9CB71300ABD5A2A8", @@ -131,6 +137,8 @@ "id": { "key": "auto-http-0XC9CDA429418EDC2B", "url": "https://www.wikipedia.org/" }, "ping": { "timestamp": "2019-01-28T18:42:55.074Z", + "container": null, + "kubernetes": null, "monitor": { "duration": { "us": 1164812 }, "id": "auto-http-0XC9CDA429418EDC2B", @@ -173,6 +181,8 @@ "id": { "key": "auto-http-0XD9AE729FC1C1E04A", "url": "http://www.reddit.com/" }, "ping": { "timestamp": "2019-01-28T18:43:13.074Z", + "container": null, + "kubernetes": null, "monitor": { "duration": { "us": 299586 }, "id": "auto-http-0XD9AE729FC1C1E04A", @@ -215,6 +225,8 @@ "id": { "key": "auto-http-0XDD2D4E60FD4A61C3", "url": "https://www.elastic.co" }, "ping": { "timestamp": "2019-01-28T18:43:13.074Z", + "container": null, + "kubernetes": null, "monitor": { "duration": { "us": 850870 }, "id": "auto-http-0XDD2D4E60FD4A61C3", @@ -257,6 +269,8 @@ "id": { "key": "auto-http-0XE3B163481423197D", "url": "https://news.google.com/" }, "ping": { "timestamp": "2019-01-28T18:42:55.074Z", + "container": null, + "kubernetes": null, "monitor": { "duration": { "us": 2059606 }, "id": "auto-http-0XE3B163481423197D", @@ -299,6 +313,8 @@ "id": { "key": "auto-tcp-0X81440A68E839814C", "url": "tcp://localhost:9200" }, "ping": { "timestamp": "2019-01-28T18:43:16.078Z", + "container": null, + "kubernetes": null, "monitor": { "duration": { "us": 3328 }, "id": "auto-tcp-0X81440A68E839814C",