Skip to content

Commit

Permalink
increase percent tolerance as colors can vary
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarezmelissa87 committed Dec 8, 2023
1 parent ef87bce commit ee1e89b
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ export default function ({ getService }: FtrProviderContext) {
const ml = getService('ml');
const editedDescription = 'Edited description';

// FLAKY: https://github.com/elastic/kibana/issues/147020
describe.skip('classification saved search creation', function () {
describe('classification saved search creation', function () {
before(async () => {
await esArchiver.loadIfNeeded('x-pack/test/functional/es_archives/ml/farequote_small');
await ml.testResources.createDataViewIfNeeded('ft_farequote_small', '@timestamp');
Expand Down Expand Up @@ -688,7 +687,9 @@ export default function ({ getService }: FtrProviderContext) {
'mlDFAnalyticsClassificationExplorationRocCurveChart',
testData.expected.rocCurveColorState,
['#000000'],
undefined,
// increased percent threshold tolerance here from default of 5 to 15
// since the returned colors vary quite a bit on each run.
15,
undefined,
// increased tolerance for ROC curve chart up from 10 to 20
// since the returned colors vary quite a bit on each run.
Expand Down

0 comments on commit ee1e89b

Please sign in to comment.