From 07a56065b740e318267141e1ece3c92648cc27e8 Mon Sep 17 00:00:00 2001 From: Dzmitry Lemechko Date: Mon, 25 Sep 2023 12:28:59 +0200 Subject: [PATCH] remove await for log service --- .../common/index_management/create_enrich_policy.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/x-pack/test_serverless/functional/test_suites/common/index_management/create_enrich_policy.ts b/x-pack/test_serverless/functional/test_suites/common/index_management/create_enrich_policy.ts index 383e55f1e5579..2a1d70a8e42b3 100644 --- a/x-pack/test_serverless/functional/test_suites/common/index_management/create_enrich_policy.ts +++ b/x-pack/test_serverless/functional/test_suites/common/index_management/create_enrich_policy.ts @@ -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, @@ -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'); @@ -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 });