From 51773f2bd7af00a04aa51478fb72b2c2981bcb92 Mon Sep 17 00:00:00 2001 From: Andrew Kroh Date: Sat, 22 Aug 2020 08:49:49 -0400 Subject: [PATCH] Fix Agent tests for Heartbeat config The tests expected dataset rather than data_stream. --- .../pkg/agent/program/testdata/single_config-heartbeat.yml | 2 +- .../agent/program/testdata/synthetics_config-heartbeat.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/x-pack/elastic-agent/pkg/agent/program/testdata/single_config-heartbeat.yml b/x-pack/elastic-agent/pkg/agent/program/testdata/single_config-heartbeat.yml index f6be90698f6..76bad6aeeb7 100644 --- a/x-pack/elastic-agent/pkg/agent/program/testdata/single_config-heartbeat.yml +++ b/x-pack/elastic-agent/pkg/agent/program/testdata/single_config-heartbeat.yml @@ -6,7 +6,7 @@ inputs: host: "http://localhost:80/service/status" timeout: 16s wait: 1s - dataset.namespace: default + data_stream.namespace: default output: elasticsearch: hosts: diff --git a/x-pack/elastic-agent/pkg/agent/program/testdata/synthetics_config-heartbeat.yml b/x-pack/elastic-agent/pkg/agent/program/testdata/synthetics_config-heartbeat.yml index 564d01afc15..c9af2356e12 100644 --- a/x-pack/elastic-agent/pkg/agent/program/testdata/synthetics_config-heartbeat.yml +++ b/x-pack/elastic-agent/pkg/agent/program/testdata/synthetics_config-heartbeat.yml @@ -6,7 +6,7 @@ inputs: host: "http://localhost:80/service/status" timeout: 16s wait: 1s - dataset.namespace: default + data_stream.namespace: default - type: synthetics/tcp id: unique-tcp-id name: my-tcp @@ -14,7 +14,7 @@ inputs: host: "localhost:777" timeout: 16s wait: 1s - dataset.namespace: default + data_stream.namespace: default - type: synthetics/icmp id: unique-icmp-id name: my-icmp @@ -25,7 +25,7 @@ inputs: mode: any timeout: 16s wait: 1s - dataset.namespace: default + data_stream.namespace: default output: elasticsearch: hosts: [127.0.0.1:9200, 127.0.0.1:9300]