Skip to content

Commit c0ab2e7

Browse files
committed
Adjust and re-enable categorization advanced wizard test
1 parent c0d2b29 commit c0ab2e7

File tree

1 file changed

+10
-14
lines changed
  • x-pack/test/functional/apps/machine_learning/anomaly_detection

1 file changed

+10
-14
lines changed

x-pack/test/functional/apps/machine_learning/anomaly_detection/advanced_job.ts

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,6 @@ export default function({ getService }: FtrProviderContext) {
206206
},
207207
},
208208
{
209-
// TODO: fix and re-enable the categorization test as soon as Kibana and ES are in sync again
210-
skipTest: true,
211209
suiteTitle: 'with categorization detector and default datafeed settings',
212210
jobSource: 'ecommerce',
213211
jobId: `ec_advanced_2_${Date.now()}`,
@@ -230,7 +228,7 @@ export default function({ getService }: FtrProviderContext) {
230228
} as Detector,
231229
],
232230
influencers: ['mlcategory'],
233-
bucketSpan: '12h',
231+
bucketSpan: '4h',
234232
memoryLimit: '100mb',
235233
} as PickFieldsConfig,
236234
datafeedConfig: {} as DatafeedConfig,
@@ -247,30 +245,30 @@ export default function({ getService }: FtrProviderContext) {
247245
},
248246
counts: {
249247
processed_record_count: '4,675',
250-
processed_field_count: '4,588',
251-
input_bytes: '4.4 MB',
252-
input_field_count: '6,154',
248+
processed_field_count: '4,675',
249+
input_bytes: '354.2 KB',
250+
input_field_count: '4,675',
253251
invalid_date_count: '0',
254-
missing_field_count: '87',
252+
missing_field_count: '0',
255253
out_of_order_timestamp_count: '0',
256254
empty_bucket_count: '0',
257255
sparse_bucket_count: '0',
258-
bucket_count: '61',
256+
bucket_count: '185',
259257
earliest_record_timestamp: '2019-06-12 00:04:19',
260258
latest_record_timestamp: '2019-07-12 23:45:36',
261259
input_record_count: '4,675',
262-
latest_bucket_timestamp: '2019-07-12 12:00:00',
260+
latest_bucket_timestamp: '2019-07-12 20:00:00',
263261
},
264262
modelSizeStats: {
265263
result_type: 'model_size_stats',
266264
model_bytes_exceeded: '0',
267265
model_bytes_memory_limit: '104857600',
268-
total_by_field_count: '3,787',
266+
total_by_field_count: '994',
269267
total_over_field_count: '0',
270268
total_partition_field_count: '2',
271269
bucket_allocation_failures_count: '0',
272270
memory_status: 'ok',
273-
timestamp: '2019-07-12 00:00:00',
271+
timestamp: '2019-07-12 16:00:00',
274272
},
275273
},
276274
},
@@ -287,9 +285,7 @@ export default function({ getService }: FtrProviderContext) {
287285
await ml.api.cleanMlIndices();
288286
});
289287

290-
for (const testData of testDataList.filter(td => {
291-
return td.skipTest !== true;
292-
})) {
288+
for (const testData of testDataList) {
293289
describe(`${testData.suiteTitle}`, function() {
294290
it('job creation loads the job management page', async () => {
295291
await ml.navigation.navigateToMl();

0 commit comments

Comments
 (0)