diff --git a/x-pack/test/api_integration/apis/ml/data_frame_analytics/stop_spaces.ts b/x-pack/test/api_integration/apis/ml/data_frame_analytics/stop_spaces.ts index 136fef63f09fbb..19ce61d840d931 100644 --- a/x-pack/test/api_integration/apis/ml/data_frame_analytics/stop_spaces.ts +++ b/x-pack/test/api_integration/apis/ml/data_frame_analytics/stop_spaces.ts @@ -15,7 +15,6 @@ import { DATA_FRAME_TASK_STATE } from '../../../../../plugins/ml/common/constant export default ({ getService }: FtrProviderContext) => { const esArchiver = getService('esArchiver'); const ml = getService('ml'); - const log = getService('log'); const spacesService = getService('spaces'); const supertest = getService('supertestWithoutAuth'); @@ -30,7 +29,6 @@ export default ({ getService }: FtrProviderContext) => { action: string, expectedStatusCode: number ) { - log.debug(`Running ${action} request for ${jobId} in ${space}...`); const resp = await supertest .post(`/s/${space}/api/ml/data_frame/analytics/${jobId}/${action}`) .auth( @@ -40,9 +38,6 @@ export default ({ getService }: FtrProviderContext) => { .set(COMMON_REQUEST_HEADERS); const { body, status } = resp; - log.debug(`Response status is ${status} for ${action} request for ${jobId} in ${space}...`); - log.debug(`${JSON.stringify(body, null, 2)}`); - expect(status).to.be(expectedStatusCode); return body; }