Skip to content

Commit

Permalink
Remove flakiness in integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
mikecote committed Apr 29, 2021
1 parent 624ae75 commit cfb1c25
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ export default function createEnableAlertTests({ getService }: FtrProviderContex
.auth(user.username, user.password)
.expect(200);
expect(typeof updatedAlert.scheduled_task_id).to.eql('string');
expect(updatedAlert.execution_status.status).to.eql('pending');
const { _source: taskRecord } = await getScheduledTask(
updatedAlert.scheduled_task_id
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ export default function createEnableAlertTests({ getService }: FtrProviderContex
.set('kbn-xsrf', 'foo')
.expect(200);
expect(typeof updatedAlert.scheduled_task_id).to.eql('string');
expect(updatedAlert.execution_status.status).to.eql('pending');
const { _source: taskRecord } = await getScheduledTask(updatedAlert.scheduled_task_id);
expect(taskRecord.type).to.eql('task');
expect(taskRecord.task.taskType).to.eql('alerting:test.noop');
Expand Down

0 comments on commit cfb1c25

Please sign in to comment.