From c743823c0f4dc4b45582acb670d97200cc603b4e Mon Sep 17 00:00:00 2001 From: Tiago Queiroz Date: Fri, 27 Oct 2023 12:11:24 +0200 Subject: [PATCH] Fix failing tests Fix all failing tests --- .buildkite/pipeline.yml | 2 +- testing/integration/endpoint_security_test.go | 2 +- testing/integration/logs_ingestion_test.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 4803aff42df..53b815ded27 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -33,7 +33,7 @@ steps: - label: "Serverless integration test" key: "serverless-integration-tests" - command: ".buildkite/scripts/steps/integration_tests.sh serverless integration:single TestMonitoringLogsShipped" #right now, run a single test in serverless mode as a sort of smoke test, instead of re-running the entire suite + command: ".buildkite/scripts/steps/integration_tests.sh serverless integration:single TestLogIngestionFleetManaged" #right now, run a single test in serverless mode as a sort of smoke test, instead of re-running the entire suite artifact_paths: - "build/TEST-**" - "build/diagnostics/*" diff --git a/testing/integration/endpoint_security_test.go b/testing/integration/endpoint_security_test.go index f3943604c1d..c2ca1d5a058 100644 --- a/testing/integration/endpoint_security_test.go +++ b/testing/integration/endpoint_security_test.go @@ -36,7 +36,7 @@ import ( const ( // TODO: Setup a GitHub Action to update this for each release of https://github.com/elastic/endpoint-package - endpointPackageVersion = "8.9.0" + endpointPackageVersion = "8.11.0" endpointHealthPollingTimeout = 2 * time.Minute ) diff --git a/testing/integration/logs_ingestion_test.go b/testing/integration/logs_ingestion_test.go index d96ca676177..ba9a84673b0 100644 --- a/testing/integration/logs_ingestion_test.go +++ b/testing/integration/logs_ingestion_test.go @@ -393,7 +393,7 @@ var policyJSON = ` "enabled": true, "vars": { "paths": [ - "{{.LogFilePath}}" + "{{.LogFilePath | js}}" {{/* we need to escape windows paths */}} ], "data_stream.dataset": "{{.Dataset}}" }