-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry-pick #9198 to 6.x: Upgrade test Docker images to latest versio…
…ns (#9734) * Upgrade test Docker images to latest versions (#9198) * Upgrade to latest versions * Fixing integration test by setting up CCR stats * Adding test fixtures * Renaming per hound suggestion * Start trial for all metricsets * Create CCR stats first! * Fix formatting issues * Refactoring to reuse ES client * [WIP] Testing if this is a timing issue * Fixing formatting * WIP: Make container health check use GET /_xpack/license * Removing test sleep * Trying a more generic health check (cherry picked from commit ecc09cc) * Updating healthcheck (#9749)
- Loading branch information
1 parent
93fd7b3
commit cf6e60f
Showing
7 changed files
with
157 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
FROM docker.elastic.co/elasticsearch/elasticsearch:6.4.3 | ||
HEALTHCHECK --interval=1s --retries=300 CMD curl -f http://localhost:9200 | ||
FROM docker.elastic.co/elasticsearch/elasticsearch:6.5.1 | ||
HEALTHCHECK --interval=1s --retries=300 CMD curl -f http://localhost:9200/_xpack/license |
4 changes: 4 additions & 0 deletions
4
metricbeat/module/elasticsearch/ccr/_meta/test/test_follower_index.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"remote_cluster": "same", | ||
"leader_index": "pied_piper" | ||
} |
5 changes: 5 additions & 0 deletions
5
metricbeat/module/elasticsearch/ccr/_meta/test/test_leader_index.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"settings": { | ||
"soft_deletes.enabled": true | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
metricbeat/module/elasticsearch/ccr/_meta/test/test_remote_settings.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"transient": { | ||
"cluster": { | ||
"remote": { | ||
"same": { | ||
"seeds": [ | ||
"127.0.0.1:9300" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
FROM docker.elastic.co/kibana/kibana:6.4.3 | ||
FROM docker.elastic.co/kibana/kibana:6.5.1 | ||
HEALTHCHECK --interval=1s --retries=300 CMD curl -f http://localhost:5601/api/status | grep '"disconnects"' |