mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[ML] Functional tests - stabilize typing in DFA mml input (#66706)
This PR wraps the model memory value setting during data frame analytics job creation in a retry.
This commit is contained in:
parent
f33b6b6adb
commit
e28afffb98
1 changed files with 9 additions and 3 deletions
|
@ -287,10 +287,16 @@ export function MachineLearningDataFrameAnalyticsCreationProvider(
|
|||
},
|
||||
|
||||
async setModelMemory(modelMemory: string) {
|
||||
await mlCommon.setValueWithChecks('mlAnalyticsCreateJobFlyoutModelMemoryInput', modelMemory, {
|
||||
clearWithKeyboard: true,
|
||||
await retry.tryForTime(15 * 1000, async () => {
|
||||
await mlCommon.setValueWithChecks(
|
||||
'mlAnalyticsCreateJobFlyoutModelMemoryInput',
|
||||
modelMemory,
|
||||
{
|
||||
clearWithKeyboard: true,
|
||||
}
|
||||
);
|
||||
await this.assertModelMemoryValue(modelMemory);
|
||||
});
|
||||
await this.assertModelMemoryValue(modelMemory);
|
||||
},
|
||||
|
||||
async assertCreateIndexPatternSwitchExists() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue