Skip to content

Commit

Permalink
[Discover] add logger
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaanj committed Mar 28, 2022
1 parent 564417b commit b48e03b
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { last } from 'lodash';
import { FtrProviderContext } from '../../ftr_provider_context';

export default function ({ getService, getPageObjects }: FtrProviderContext) {
const log = getService('log');
const es = getService('es');
const monacoEditor = getService('monacoEditor');
const PageObjects = getPageObjects([
Expand Down Expand Up @@ -232,8 +233,13 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
await createSourceIndex();
await generateNewDocs(5);
await createOutputDataIndex();

log.debug('create data views');
const [sourceDataViewResponse, outputDataViewResponse] = await createDataViews();

log.debug('create connector');
connectorId = await createConnector();

sourceDataViewId = sourceDataViewResponse.body.data_view.id;
outputDataViewId = outputDataViewResponse.body.data_view.id;
});
Expand Down

0 comments on commit b48e03b

Please sign in to comment.