Skip to content

Commit df0d81a

Browse files
authored
[ML] API integration tests - adjust and re-enable anomalies table data test (#85405) (#85731)
This PR adjusts and re-enables the get_anomalies_table_data API integration tests.
1 parent 52f8c27 commit df0d81a

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

x-pack/test/api_integration/apis/ml/results/get_anomalies_table_data.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,7 @@ export default ({ getService }: FtrProviderContext) => {
5555
await ml.api.cleanMlIndices();
5656
});
5757

58-
// Failing ES snapshot promotion after a ml-cpp change
59-
// See https://github.com/elastic/kibana/issues/85363
60-
it.skip('should fetch anomalies table data', async () => {
58+
it('should fetch anomalies table data', async () => {
6159
const requestBody = {
6260
jobIds: [JOB_CONFIG.job_id],
6361
criteriaFields: [{ fieldName: 'detector_index', fieldValue: 0 }],
@@ -78,7 +76,7 @@ export default ({ getService }: FtrProviderContext) => {
7876
.expect(200);
7977

8078
expect(body.interval).to.eql('hour');
81-
expect(body.anomalies.length).to.eql(12);
79+
expect(body.anomalies.length).to.eql(13);
8280
});
8381

8482
it('should validate request body', async () => {

0 commit comments

Comments
 (0)