Skip to content

Commit 3e850e2

Browse files
afharokibanamachine
andcommitted
[Data telemetry] Add Async Search to the tests (#96693)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
1 parent 4c434c5 commit 3e850e2

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/plugins/telemetry/server/telemetry_collection/get_data_telemetry/get_data_telemetry.test.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,15 @@ describe('get_data_telemetry', () => {
4646
).toStrictEqual([]);
4747
});
4848

49+
test('should not include Async Search indices', () => {
50+
expect(
51+
buildDataTelemetryPayload([
52+
{ name: '.async_search', docCount: 0 },
53+
{ name: '.async-search', docCount: 0 },
54+
])
55+
).toStrictEqual([]);
56+
});
57+
4958
test('matches some indices and puts them in their own category', () => {
5059
expect(
5160
buildDataTelemetryPayload([

0 commit comments

Comments
 (0)