Skip to content

Commit 06cb9bf

Browse files
committed
fixing test
1 parent 3398496 commit 06cb9bf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ export default function ({ getService }: FtrProviderContext) {
4848
});
4949

5050
expect(result.hits).to.be.ok();
51-
expect(result.aggregations).to.be.ok();
51+
if (aggType !== 'count') {
52+
expect(result.aggregations).to.be.ok();
53+
}
5254
});
5355
}
5456
it('should work with a filterQuery', async () => {

0 commit comments

Comments
 (0)