mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 02:09:32 -04:00
Fix some flaky tests
This commit is contained in:
parent
3d667a0d13
commit
d28c8c56f6
2 changed files with 3 additions and 3 deletions
|
@ -108,7 +108,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
|
||||||
return await createAlwaysFiringRule({
|
return await createAlwaysFiringRule({
|
||||||
name: `test-rule-${testRunUuid}`,
|
name: `test-rule-${testRunUuid}`,
|
||||||
schedule: {
|
schedule: {
|
||||||
interval: '1s',
|
interval: '3s',
|
||||||
},
|
},
|
||||||
actions: connectors.map((connector) => ({
|
actions: connectors.map((connector) => ({
|
||||||
id: connector.id,
|
id: connector.id,
|
||||||
|
@ -615,7 +615,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
|
||||||
const rule = await createAlwaysFiringRule({
|
const rule = await createAlwaysFiringRule({
|
||||||
name: `test-rule-${testRunUuid}`,
|
name: `test-rule-${testRunUuid}`,
|
||||||
schedule: {
|
schedule: {
|
||||||
interval: '1s',
|
interval: '3s',
|
||||||
},
|
},
|
||||||
notify_when: RuleNotifyWhen.THROTTLE,
|
notify_when: RuleNotifyWhen.THROTTLE,
|
||||||
throttle: '2d',
|
throttle: '2d',
|
||||||
|
|
|
@ -125,7 +125,7 @@ export default function ({ getService }: FtrProviderContext) {
|
||||||
const monitoredAggregatedStatsRefreshRate = 5000;
|
const monitoredAggregatedStatsRefreshRate = 5000;
|
||||||
|
|
||||||
describe('health', () => {
|
describe('health', () => {
|
||||||
afterEach(async () => {
|
after(async () => {
|
||||||
// clean up after each test
|
// clean up after each test
|
||||||
return await request.delete('/api/sample_tasks').set('kbn-xsrf', 'xxx').expect(200);
|
return await request.delete('/api/sample_tasks').set('kbn-xsrf', 'xxx').expect(200);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue