Master should use the latest version of ES (#780)

The `master` branch should work with the latest snapshot of Elasticsearch.

- Use `8.0.0-SNAPSHOT`
- Code generation
- Updated scripts and CI conf
This commit is contained in:
Tomas Della Vedova
2019-03-28 09:05:00 +01:00
committed by GitHub
parent f260549a4f
commit fb73b4b08d
68 changed files with 2044 additions and 901 deletions

View File

@ -182,15 +182,15 @@ TestRunner.prototype.cleanupPlatinum = function (q, done) {
})
q.add((q, done) => {
this.client.xpack.rollup.getJobs({ id: '_all' }, (err, { body }) => {
this.client.rollup.getJobs({ id: '_all' }, (err, { body }) => {
this.tap.error(err, 'should not error: rollup.getJobs')
const jobs = body.jobs.map(j => j.config.id)
helper.runInParallel(
this.client, 'xpack.rollup.stopJob',
this.client, 'rollup.stopJob',
jobs.map(j => ({ id: j, waitForCompletion: true }))
)
.then(() => helper.runInParallel(
this.client, 'xpack.rollup.deleteJob',
this.client, 'rollup.deleteJob',
jobs.map(j => ({ id: j }))
))
.then(() => done())