Skip to content

Commit

Permalink
remove await for log service
Browse files Browse the repository at this point in the history
  • Loading branch information
dmlemeshko committed Sep 25, 2023
1 parent a1dffd4 commit 07a5606
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {

describe('Create enrich policy', function () {
before(async () => {
await log.debug('Creating test index');
log.debug('Creating test index');
try {
await es.indices.create({
index: INDEX_NAME,
Expand All @@ -43,7 +43,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
throw e;
}

await log.debug('Navigating to the enrich policies tab');
log.debug('Navigating to the enrich policies tab');
await pageObjects.svlCommonPage.login();
await security.testUser.setRoles(['index_management_user']);
await pageObjects.common.navigateToApp('indexManagement');
Expand All @@ -56,7 +56,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
});

after(async () => {
await log.debug('Cleaning up created index');
log.debug('Cleaning up created index');

try {
await es.indices.delete({ index: INDEX_NAME });
Expand Down

0 comments on commit 07a5606

Please sign in to comment.