[RAM] Fix flaky test on rule find api integration (#152455)

## Summary

Fix https://github.com/elastic/kibana/issues/148660


### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
This commit is contained in:
Xavier Mouligneau 2023-03-01 10:29:17 -05:00 committed by GitHub
parent 0c2e2c9b6f
commit 5612da95fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -95,7 +95,7 @@ const findTestUtils = (
name: 'abc',
tags: ['foo'],
rule_type_id: 'test.noop',
running: false,
running: match.running ?? false,
consumer: 'alertsFixture',
schedule: { interval: '1m' },
enabled: true,
@ -311,7 +311,7 @@ const findTestUtils = (
name: 'abc',
tags: ['foo'],
rule_type_id: 'test.noop',
running: false,
running: match.running ?? false,
consumer: 'alertsFixture',
schedule: { interval: '1m' },
enabled: false,

View file

@ -74,7 +74,7 @@ const findTestUtils = (
name: 'abc',
tags: ['foo'],
rule_type_id: 'test.noop',
running: false,
running: match.running ?? false,
consumer: 'alertsFixture',
schedule: { interval: '1m' },
enabled: true,
@ -287,7 +287,7 @@ const findTestUtils = (
name: 'abc',
tags: ['foo'],
rule_type_id: 'test.noop',
running: false,
running: match.running ?? false,
consumer: 'alertsFixture',
schedule: { interval: '1m' },
enabled: false,