From d591ac4520b0eddb23bfcc74b19a5ff0f6d498aa Mon Sep 17 00:00:00 2001 From: Elastic Machine Date: Thu, 22 Jun 2023 04:34:54 -0500 Subject: [PATCH] [Release] update version to next minor 8.10.0 (#35870) * [Release] update version * add `allow_older_versions` to test output configuration Some integration tests connect to ES, however not all of them had the flag `allow_older_versions` set in the output configuration. There are a few cases where this becomes an issue, specially when upgrading the Beats version. --------- Co-authored-by: Tiago Queiroz --- libbeat/version/version.go | 2 +- .../tests/integration/managerV2_test.go | 26 ++++++++++--------- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/libbeat/version/version.go b/libbeat/version/version.go index 7ba8762ee6c..cfa3abd3aef 100644 --- a/libbeat/version/version.go +++ b/libbeat/version/version.go @@ -18,4 +18,4 @@ // Code generated by dev-tools/set_version package version -const defaultBeatVersion = "8.9.0" +const defaultBeatVersion = "8.10.0" diff --git a/x-pack/filebeat/tests/integration/managerV2_test.go b/x-pack/filebeat/tests/integration/managerV2_test.go index d0d0eea6e30..e1951b510b6 100644 --- a/x-pack/filebeat/tests/integration/managerV2_test.go +++ b/x-pack/filebeat/tests/integration/managerV2_test.go @@ -64,12 +64,13 @@ func TestInputReloadUnderElasticAgent(t *testing.T) { Name: "elasticsearch", Source: requireNewStruct(t, map[string]interface{}{ - "type": "elasticsearch", - "hosts": []interface{}{"http://localhost:9200"}, - "username": "admin", - "password": "testing", - "protocol": "http", - "enabled": true, + "type": "elasticsearch", + "hosts": []interface{}{"http://localhost:9200"}, + "username": "admin", + "password": "testing", + "protocol": "http", + "enabled": true, + "allow_older_versions": true, }), }, }, @@ -109,12 +110,13 @@ func TestInputReloadUnderElasticAgent(t *testing.T) { Name: "elasticsearch", Source: requireNewStruct(t, map[string]interface{}{ - "type": "elasticsearch", - "hosts": []interface{}{"http://localhost:9200"}, - "username": "admin", - "password": "testing", - "protocol": "http", - "enabled": true, + "type": "elasticsearch", + "hosts": []interface{}{"http://localhost:9200"}, + "username": "admin", + "password": "testing", + "protocol": "http", + "enabled": true, + "allow_older_versions": true, }), }, },