[Telemetry][API Integration] size_in_bytes to be a number (#74664)

This commit is contained in:
Alejandro Fernández Haro 2020-08-11 10:44:32 +01:00 committed by GitHub
parent a4ec4332c6
commit 0c16ca4649
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 () => {