Skip to content

Commit

Permalink
Add preliminary fix for Nodes Stats API
Browse files Browse the repository at this point in the history
This commit adds a preliminary fix for
elastic/elasticsearch#78311 that is, however,
not yet released as of 7.15.1.

See #1535
  • Loading branch information
olivere committed Oct 14, 2021
1 parent 9e03315 commit 87d344c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
@@ -1,6 +1,6 @@
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:${VERSION:-7.15.0}
image: docker.elastic.co/elasticsearch/elasticsearch:${VERSION:-7.15.1}
hostname: elasticsearch
environment:
- cluster.name=elasticsearch
Expand Down Expand Up @@ -28,7 +28,7 @@ services:
ports:
- 9200:9200
platinum:
image: docker.elastic.co/elasticsearch/elasticsearch:${VERSION:-7.15.0}
image: docker.elastic.co/elasticsearch/elasticsearch:${VERSION:-7.15.1}
hostname: elasticsearch-platinum
environment:
- cluster.name=platinum
Expand Down
4 changes: 2 additions & 2 deletions nodes_stats_test.go
Expand Up @@ -20,8 +20,8 @@ func TestNodesStats(t *testing.T) {
if err != nil {
t.Fatal(err)
}
if version == "7.15.0" {
t.Skip("skipping NodesStats test for 7.15.0 because of https://github.com/elastic/elasticsearch/issues/78311")
if version == "7.15.0" || version == "7.15.1" {
t.Skipf("skipping NodesStats test for %s because of https://github.com/elastic/elasticsearch/issues/78311", version)
return
}

Expand Down

0 comments on commit 87d344c

Please sign in to comment.