Skip to content

Commit

Permalink
Use .kibana-alerts in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dgieselaar committed May 12, 2021
1 parent 6e84ed5 commit 2677378
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions x-pack/test/apm_api_integration/configs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ const apmFtrConfigs = {
},
rules: {
license: 'trial' as const,
kibanaConfig: {
'xpack.ruleRegistry.index': '.kibana-alerts',
},
},
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,6 @@ export default function ApiTest({ getService }: FtrProviderContext) {
'@timestamp': 'desc',
},
},
allow_no_indices: true,
});

expect(beforeDataResponse.body.hits.hits.length).to.be(0);
Expand Down

0 comments on commit 2677378

Please sign in to comment.