Skip to content

Commit

Permalink
Disabled categorization stats validation (#57087) (#57107)
Browse files Browse the repository at this point in the history
This PR disabled the categorization stats validation after job creation.
  • Loading branch information
pheyos authored Feb 10, 2020
1 parent f666b58 commit 397cb63
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions x-pack/test/functional/services/machine_learning/job_table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,15 @@ export function MachineLearningJobTableProvider({ getService }: FtrProviderConte
expect(modelSizeStats).to.have.property('model_bytes');
delete modelSizeStats.model_bytes;

// remove categorization fields from validation until
// the ES version is updated
delete modelSizeStats.categorization_status;
delete modelSizeStats.categorized_doc_count;
delete modelSizeStats.dead_category_count;
delete modelSizeStats.frequent_category_count;
delete modelSizeStats.rare_category_count;
delete modelSizeStats.total_category_count;

expect(modelSizeStats).to.eql(expectedModelSizeStats);
}

Expand Down

0 comments on commit 397cb63

Please sign in to comment.