Skip to content

Commit

Permalink
[Release] update version to next minor 8.10.0 (#35870)
Browse files Browse the repository at this point in the history
* [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 <[email protected]>
  • Loading branch information
elasticmachine and belimawr authored Jun 22, 2023
1 parent a98c576 commit d591ac4
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 13 deletions.
2 changes: 1 addition & 1 deletion libbeat/version/version.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 14 additions & 12 deletions x-pack/filebeat/tests/integration/managerV2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}),
},
},
Expand Down Expand Up @@ -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,
}),
},
},
Expand Down

0 comments on commit d591ac4

Please sign in to comment.