mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-14 08:55:19 +00:00
This adds a rolling upgrade test for X-Pack monitoring. It works by using the `_xpack/monitoring/_bulk` endpoint to send arbitrary data, then verify that it exists. This forces a few things to happen, thereby testing the behavior: 1. The templates must exist. 2. The elected master node must be "ready" to work (hence the first point). 3. The same "system_api_version" is accepted by every version of ES. Original commit: elastic/x-pack-elasticsearch@012e5738bb