Skip to content

Commit

Permalink
Add temporary logging for CI debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
jen-huang authored Sep 29, 2020
1 parent 312cf73 commit 4b578eb
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export default function (providerContext: FtrProviderContext) {
const esArchiver = getService('esArchiver');
const supertest = getService('supertest');
const kibanaServer = getService('kibanaServer');
const log = getService('log');

const supertestWithoutAuth = getSupertestWithoutAuth(providerContext);
const esClient = getService('es');
Expand Down Expand Up @@ -74,6 +75,11 @@ export default function (providerContext: FtrProviderContext) {
events: [],
})
.expect(200);


log.info(`Kibana version: ${kibanaVersion}`);
log.info(`Enrollment response: ${enrollmentResponse}`);
log.info(`Checkin response: ${checkinApiResponse}`);

expect(checkinApiResponse.actions).length(1);
expect(checkinApiResponse.actions[0].type).be('POLICY_CHANGE');
Expand Down

0 comments on commit 4b578eb

Please sign in to comment.