mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[ML] Functional tests - skip lang_ident_model_1 in saved object cleanup (#134028)
This PR skips the cleanup of the lang_ident_model_1 saved object for functional ML tests.
This commit is contained in:
parent
8e81a6e569
commit
027dad3d3c
1 changed files with 4 additions and 0 deletions
|
@ -483,6 +483,10 @@ export function MachineLearningTestResourcesProvider(
|
|||
SavedObjectType.ML_TRAINED_MODEL_SAVED_OBJECT_TYPE
|
||||
);
|
||||
for (const id of savedObjectIds) {
|
||||
if (id === 'lang_ident_model_1') {
|
||||
log.debug('> Skipping internal lang_ident_model_1');
|
||||
continue;
|
||||
}
|
||||
await this.deleteSavedObjectById(
|
||||
id,
|
||||
SavedObjectType.ML_TRAINED_MODEL_SAVED_OBJECT_TYPE,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue