Error: Expected status code 200, got 500 with body '{"error":{"root_cause":[{"type":"status_exception","reason":"Model importing failed due to an Exception [java.lang.IllegalArgumentException: [definition_length] must be greater than 0]"}],"type":"status_exception","reason":"Model importing failed due to an Exception [java.lang.IllegalArgumentException: [definition_length] must be greater than 0]","caused_by":{"type":"illegal_argument_exception","reason":"[definition_length] must be greater than 0"}},"status":500}'
at Assertion.assert (expect.js:100:11)
at Assertion.eql (expect.js:244:8)
at Object.assertResponseStatusCode (api.ts:92:31)
at Object.createInferenceEndpoint (api.ts:253:12)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Context.<anonymous> (inference_endpoints.ts:25:9)
at Object.apply (wrap_function.js:73:16) {
actual: '500',
expected: '200',
showDiff: true
}
A test failed on a tracked branch
First failure: kibana-on-merge - main