We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae63e84 commit 4b661dfCopy full SHA for 4b661df
x-pack/test/api_integration/apis/ml/job_validation/validate.ts
@@ -226,6 +226,15 @@ export default ({ getService }: FtrProviderContext) => {
226
.send(requestBody)
227
.expect(200);
228
229
+ // The existance and value of maxModelMemoryLimit depends on ES settings
230
+ // and may vary between test environments, e.g. cloud vs non-cloud,
231
+ // so it should not be part of the validation
232
+ body.forEach((element: any) => {
233
+ if (element.hasOwnProperty('maxModelMemoryLimit')) {
234
+ delete element.maxModelMemoryLimit;
235
+ }
236
+ });
237
+
238
expect(body).to.eql([
239
{
240
id: 'job_id_valid',
0 commit comments