Skip to content

Commit

Permalink
add retry for flaky test and unskip
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarezmelissa87 committed Jul 18, 2024
1 parent e96625d commit 07bc19d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
});

for (const testData of testDataList) {
// FLAKY: https://github.com/elastic/kibana/issues/188493
describe.skip(testData.suiteSuffix, function () {
describe(testData.suiteSuffix, function () {
before(async () => {
await ml.api.createAndRunAnomalyDetectionLookbackJob(
testData.jobConfig,
Expand Down
2 changes: 1 addition & 1 deletion x-pack/test/functional/services/ml/single_metric_viewer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export function MachineLearningSingleMetricViewerProvider(
},

async ensureAnomalyActionDiscoverButtonClicked() {
await retry.tryForTime(3 * 1000, async () => {
await retry.tryForTime(10 * 1500, async () => {
await testSubjects.click('mlAnomaliesListRowAction_viewInDiscoverButton');
await testSubjects.existOrFail('discoverLayoutResizableContainer');
});
Expand Down

0 comments on commit 07bc19d

Please sign in to comment.