[7.x] [Telemetry][API Integration] size_in_bytes to be a number (#74664) (#74741)

This commit is contained in:
Alejandro Fernández Haro 2020-08-11 14:38:15 +01:00 committed by GitHub
parent 45e460e4c8
commit 59dd3a5d30
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -90,7 +90,7 @@ export default function ({ getService }) {
expect(stats.stack_stats.data[0].index_count).to.be(1);
expect(stats.stack_stats.data[0].doc_count).to.be(0);
expect(stats.stack_stats.data[0].ecs_index_count).to.be(0);
expect(stats.stack_stats.data[0].size_in_bytes).to.be.greaterThan(0);
expect(stats.stack_stats.data[0].size_in_bytes).to.be.a('number');
});
it('should pull local stats and validate fields', async () => {