From 8d6e122765384501e4ea3a569d6c35c8dcc81878 Mon Sep 17 00:00:00 2001 From: pgayvallet Date: Fri, 17 Dec 2021 09:04:21 +0100 Subject: [PATCH] Fix flaky /api/status FTR test --- test/api_integration/apis/status/status.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/api_integration/apis/status/status.js b/test/api_integration/apis/status/status.js index 967d0290ad131..a0edfd2261369 100644 --- a/test/api_integration/apis/status/status.js +++ b/test/api_integration/apis/status/status.js @@ -11,8 +11,7 @@ import expect from '@kbn/expect'; export default function ({ getService }) { const supertest = getService('supertest'); - // Failing: See https://github.com/elastic/kibana/issues/116060 - describe.skip('kibana status api', () => { + describe('kibana status api', () => { it('returns version, status and metrics fields', () => { return supertest .get('/api/status') @@ -26,7 +25,7 @@ export default function ({ getService }) { expect(body.version.build_number).to.be.a('number'); expect(body.status.overall).to.be.an('object'); - expect(body.status.overall.level).to.be('available'); + expect(body.status.overall.level).to.be.a('string'); expect(body.status.core).to.be.an('object'); expect(body.status.plugins).to.be.an('object');