Skip to content

Commit aefd13e

Browse files
committed
Fix tests
1 parent 78ea271 commit aefd13e

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

x-pack/plugins/rule_registry/server/utils/create_lifecycle_rule_type.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ describe('createLifecycleRuleTypeFactory', () => {
203203
"kibana.space_ids": Array [
204204
"spaceId",
205205
],
206+
"kibana.version": "7.16.0",
206207
"service.name": "opbeans-java",
207208
"tags": Array [
208209
"tags",
@@ -226,6 +227,7 @@ describe('createLifecycleRuleTypeFactory', () => {
226227
"kibana.space_ids": Array [
227228
"spaceId",
228229
],
230+
"kibana.version": "7.16.0",
229231
"service.name": "opbeans-node",
230232
"tags": Array [
231233
"tags",

x-pack/test/apm_api_integration/tests/alerts/rule_registry.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import {
1414
ALERT_STATUS,
1515
ALERT_UUID,
1616
EVENT_KIND,
17+
VERSION,
1718
} from '@kbn/rule-data-utils';
1819
import { merge, omit } from 'lodash';
1920
import { FtrProviderContext } from '../../common/ftr_provider_context';
@@ -348,7 +349,7 @@ export default function ApiTest({ getService }: FtrProviderContext) {
348349
any
349350
>;
350351

351-
const exclude = ['@timestamp', ALERT_START, ALERT_UUID, ALERT_RULE_UUID];
352+
const exclude = ['@timestamp', ALERT_START, ALERT_UUID, ALERT_RULE_UUID, VERSION];
352353

353354
const toCompare = omit(alertEvent, exclude);
354355

0 commit comments

Comments
 (0)