Skip to content

Commit

Permalink
[Data telemetry] Add Async Search to the tests (#96693) (#97993)
Browse files Browse the repository at this point in the history
Co-authored-by: Kibana Machine <[email protected]>

Co-authored-by: Alejandro Fernández Haro <[email protected]>
  • Loading branch information
kibanamachine and afharo authored Apr 22, 2021
1 parent 098db34 commit b20b697
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,15 @@ describe('get_data_telemetry', () => {
).toStrictEqual([]);
});

test('should not include Async Search indices', () => {
expect(
buildDataTelemetryPayload([
{ name: '.async_search', docCount: 0 },
{ name: '.async-search', docCount: 0 },
])
).toStrictEqual([]);
});

test('matches some indices and puts them in their own category', () => {
expect(
buildDataTelemetryPayload([
Expand Down

0 comments on commit b20b697

Please sign in to comment.