From e0acc686552ead25e8931c124c88a4596410683c Mon Sep 17 00:00:00 2001 From: Pierre Gayvallet Date: Fri, 17 Dec 2021 12:07:05 +0100 Subject: [PATCH] Fix flaky /api/status FTR test (#121486) --- 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');