Skip to content

Commit ac4e305

Browse files
committed
Remove error test
1 parent 518cee2 commit ac4e305

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

x-pack/test/api_integration/apis/infra/metrics_alerting.ts

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -56,20 +56,6 @@ export default function({ getService }: FtrProviderContext) {
5656
expect(result.hits).to.be.ok();
5757
expect(result.aggregations).to.be.ok();
5858
});
59-
it('should not work with a filterQuery in KQL format', () => {
60-
const searchBody = getElasticsearchMetricQuery(
61-
getSearchParams('avg'),
62-
undefined,
63-
'"agent.hostname":"foo"'
64-
);
65-
expect(
66-
async () =>
67-
await client.search({
68-
index,
69-
body: searchBody,
70-
})
71-
).to.throwError();
72-
});
7359
});
7460
describe('querying with a groupBy parameter', () => {
7561
for (const aggType of aggs) {

0 commit comments

Comments
 (0)