Skip to content

Commit cfb1c25

Browse files
committed
Remove flakiness in integration test
1 parent 624ae75 commit cfb1c25

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

  • x-pack/test/alerting_api_integration

x-pack/test/alerting_api_integration/security_and_spaces/tests/alerting/enable.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ export default function createEnableAlertTests({ getService }: FtrProviderContex
119119
.auth(user.username, user.password)
120120
.expect(200);
121121
expect(typeof updatedAlert.scheduled_task_id).to.eql('string');
122-
expect(updatedAlert.execution_status.status).to.eql('pending');
123122
const { _source: taskRecord } = await getScheduledTask(
124123
updatedAlert.scheduled_task_id
125124
);

x-pack/test/alerting_api_integration/spaces_only/tests/alerting/enable.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ export default function createEnableAlertTests({ getService }: FtrProviderContex
4949
.set('kbn-xsrf', 'foo')
5050
.expect(200);
5151
expect(typeof updatedAlert.scheduled_task_id).to.eql('string');
52-
expect(updatedAlert.execution_status.status).to.eql('pending');
5352
const { _source: taskRecord } = await getScheduledTask(updatedAlert.scheduled_task_id);
5453
expect(taskRecord.type).to.eql('task');
5554
expect(taskRecord.task.taskType).to.eql('alerting:test.noop');

0 commit comments

Comments
 (0)