Skip to content

Commit

Permalink
Fixing Failing test: Serverless Security API Integration Tests - Comm…
Browse files Browse the repository at this point in the history
…on Group 1.x-pack/test_serverless/api_integration/test_suites/common/alerting/rules·ts - Alerting APIs Alerting rules "after each" hook for "should retry when appropriate" (elastic#168109)
  • Loading branch information
ymao1 authored Oct 5, 2023
1 parent aab7f6e commit c418353
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ export default function ({ getService }: FtrProviderContext) {
const esClient = getService('es');
const esDeleteAllIndices = getService('esDeleteAllIndices');

// Failing: See https://github.com/elastic/kibana/issues/167665
describe.skip('Alerting rules', () => {
describe('Alerting rules', () => {
const RULE_TYPE_ID = '.es-query';
const ALERT_ACTION_INDEX = 'alert-action-es-query';
let actionId: string;
Expand All @@ -53,6 +52,7 @@ export default function ({ getService }: FtrProviderContext) {
.set('x-elastic-internal-origin', 'foo');
await esClient.deleteByQuery({
index: '.kibana-event-log-*',
conflicts: 'proceed',
query: { term: { 'kibana.alert.rule.consumer': 'alerts' } },
});
await esDeleteAllIndices([ALERT_ACTION_INDEX]);
Expand Down

0 comments on commit c418353

Please sign in to comment.