Skip to content

Commit

Permalink
Fix some flaky tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mikecote committed Oct 22, 2024
1 parent 3d667a0 commit d28c8c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
Expand Down

0 comments on commit d28c8c5

Please sign in to comment.