fix api_integration/apis/stats/stats.js flaky test (#119316) (#119450)

Co-authored-by: Pierre Gayvallet <pierre.gayvallet@elastic.co>
This commit is contained in:
Kibana Machine 2021-11-23 07:43:49 -05:00 committed by GitHub
parent c0c038dd79
commit 21c00ba6d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,7 +15,7 @@ const assertStatsAndMetrics = (body) => {
expect(body.kibana.transport_address).to.be.a('string');
expect(body.kibana.version).to.be.a('string');
expect(body.kibana.snapshot).to.be.a('boolean');
expect(body.kibana.status).to.be('green');
expect(body.kibana.status).to.be.a('string');
expect(body.process.memory.heap.total_bytes).to.be.a('number');
expect(body.process.memory.heap.used_bytes).to.be.a('number');
@ -58,8 +58,7 @@ export default function ({ getService }) {
);
});
// FLAKY: https://github.com/elastic/kibana/issues/116725
describe.skip('basic', () => {
describe('basic', () => {
it('should return the stats without cluster_uuid with no query string params', () => {
return supertest
.get('/api/stats')