Skip to content

Commit

Permalink
[ML] Fix flaky tests for cases attachments (elastic#209143)
Browse files Browse the repository at this point in the history
## Summary

Increases the timeout for the Cases model assertion to prevent flaky
behavior. The flaky tests runner passed 200/200 ✅—hopefully, it is
stable now.

Closes elastic#203675
Closes elastic#202342
Closes elastic#200836
Closes elastic#196307
Closes elastic#194168

### Checklist

- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
  • Loading branch information
darnautov authored Feb 4, 2025
1 parent b874212 commit 878ab41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/test/functional/services/cases/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export function CasesCreateViewServiceProvider(
async createCaseFromModal(params: CreateCaseParams) {
await casesCommon.assertCaseModalVisible(true);

await retry.tryForTime(5000, async () => {
await retry.tryForTime(10000, async () => {
await testSubjects.click('cases-table-add-case-filter-bar');
await casesCommon.assertCaseModalVisible(false);
});
Expand Down

0 comments on commit 878ab41

Please sign in to comment.