From ad1b23e7709bfe67114ec256a95aad545f4645c5 Mon Sep 17 00:00:00 2001 From: Jaime Soriano Pastor Date: Fri, 8 Jun 2018 12:00:59 +0200 Subject: [PATCH] Rename status to status_code in heartbeat http test Related to #7274 --- heartbeat/tests/system/test_monitor.py | 2 +- libbeat/scripts/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/heartbeat/tests/system/test_monitor.py b/heartbeat/tests/system/test_monitor.py index 2f7ae79cd9a..6f4ff2a8e51 100644 --- a/heartbeat/tests/system/test_monitor.py +++ b/heartbeat/tests/system/test_monitor.py @@ -33,7 +33,7 @@ def test_http(self, status_code): server.shutdown() output = self.read_output() - assert status_code == output[0]["http.response.status"] + assert status_code == output[0]["http.response.status_code"] @parameterized.expand([ ("8181", "up"), diff --git a/libbeat/scripts/Makefile b/libbeat/scripts/Makefile index 1849baf295c..d8a412a667a 100755 --- a/libbeat/scripts/Makefile +++ b/libbeat/scripts/Makefile @@ -149,7 +149,7 @@ clean:: ## @build Cleans up all files generated by the build steps @rm -f docker-compose.yml.lock @rm -f ${BEAT_NAME} ${BEAT_NAME}.test ${BEAT_NAME}.exe ${BEAT_NAME}.test.exe @rm -f _meta/fields.generated.yml fields.yml - @rm -f $(PWD)/_meta/kibana.generated + @rm -fr $(PWD)/_meta/kibana.generated @rm -f ${BEAT_NAME}.template*.json .PHONY: ci