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:
committed by
GitHub
parent
f260549a4f
commit
fb73b4b08d
@ -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())
|
||||
|
||||
Reference in New Issue
Block a user