mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
This PR wraps the model memory value setting during anomaly detection wizards in a retry.
This commit is contained in:
parent
513892409c
commit
a66948cfaf
1 changed files with 5 additions and 3 deletions
|
@ -322,9 +322,11 @@ export function MachineLearningJobWizardCommonProvider(
|
|||
await this.ensureAdvancedSectionOpen();
|
||||
subj = advancedSectionSelector(subj);
|
||||
}
|
||||
await mlCommon.setValueWithChecks(subj, modelMemoryLimit, { clearWithKeyboard: true });
|
||||
await this.assertModelMemoryLimitValue(modelMemoryLimit, {
|
||||
withAdvancedSection: sectionOptions.withAdvancedSection,
|
||||
await retry.tryForTime(15 * 1000, async () => {
|
||||
await mlCommon.setValueWithChecks(subj, modelMemoryLimit, { clearWithKeyboard: true });
|
||||
await this.assertModelMemoryLimitValue(modelMemoryLimit, {
|
||||
withAdvancedSection: sectionOptions.withAdvancedSection,
|
||||
});
|
||||
});
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue