Skip to content

Commit

Permalink
remove unnecessary debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarezmelissa87 committed Mar 2, 2021
1 parent 6504556 commit 3d78de5
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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');

Expand All @@ -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(
Expand All @@ -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;
}
Expand Down

0 comments on commit 3d78de5

Please sign in to comment.