mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -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({
|
||||
name: `test-rule-${testRunUuid}`,
|
||||
schedule: {
|
||||
interval: '1s',
|
||||
interval: '3s',
|
||||
},
|
||||
actions: connectors.map((connector) => ({
|
||||
id: connector.id,
|
||||
|
@ -615,7 +615,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
|
|||
const rule = await createAlwaysFiringRule({
|
||||
name: `test-rule-${testRunUuid}`,
|
||||
schedule: {
|
||||
interval: '1s',
|
||||
interval: '3s',
|
||||
},
|
||||
notify_when: RuleNotifyWhen.THROTTLE,
|
||||
throttle: '2d',
|
||||
|
|
|
@ -125,7 +125,7 @@ export default function ({ getService }: FtrProviderContext) {
|
|||
const monitoredAggregatedStatsRefreshRate = 5000;
|
||||
|
||||
describe('health', () => {
|
||||
afterEach(async () => {
|
||||
after(async () => {
|
||||
// clean up after each test
|
||||
return await request.delete('/api/sample_tasks').set('kbn-xsrf', 'xxx').expect(200);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue