Skip to content

Commit

Permalink
[automation] update elastic stack version for testing 8.2.0-82b803a1 (#…
Browse files Browse the repository at this point in the history
…1239)

* [Automation] Update elastic stack version to 8.2.0-82b803a1 for testing

* Change of return code when sending invalid utf-8

Prior version of Elasticsearch was returning a 400 errors
in the laster 8.2 this is now return a 500 error.

Co-authored-by: apmmachine <infra-root-apmmachine@elastic.co>
Co-authored-by: Pier-Hugues Pellerin <phpellerin@gmail.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
4 people authored Mar 18, 2022
1 parent f579995 commit 63f20ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dev-tools/integration/.env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ELASTICSEARCH_VERSION=8.2.0-a12f7069-SNAPSHOT
ELASTICSEARCH_VERSION=8.2.0-82b803a1-SNAPSHOT
ELASTICSEARCH_USERNAME=elastic
ELASTICSEARCH_PASSWORD=changeme
TEST_ELASTICSEARCH_HOSTS=localhost:9200
2 changes: 1 addition & 1 deletion internal/pkg/bulk/bulk_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func TestBulkCreate(t *testing.T) {
Name: "Invalid utf-8",
Index: string([]byte{0xfe, 0xfe, 0xff, 0xff}),
Err: es.ErrElastic{
Status: 400,
Status: 500,
Type: "json_parse_exception",
},
},
Expand Down

0 comments on commit 63f20ce

Please sign in to comment.