Add temporary logging for CI debugging

This commit is contained in:
Jen Huang 2020-09-29 13:46:02 -07:00 committed by GitHub
parent 312cf73f11
commit 4b578eb38b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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');
@ -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');