From 62ff1aa62d5ab3db4877aa1bee33ac998e804303 Mon Sep 17 00:00:00 2001 From: Timothy Sullivan Date: Mon, 18 May 2020 13:01:00 -0700 Subject: [PATCH] move the log.debug line --- x-pack/test/reporting_api_integration/services.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x-pack/test/reporting_api_integration/services.ts b/x-pack/test/reporting_api_integration/services.ts index 3e8ade11e7f81..ae7b83e2ac81b 100644 --- a/x-pack/test/reporting_api_integration/services.ts +++ b/x-pack/test/reporting_api_integration/services.ts @@ -130,6 +130,8 @@ export function ReportingAPIProvider({ getService }: FtrProviderContext) { }, async deleteAllReports() { + log.debug('ReportingAPI.deleteAllReports'); + // ignores 409 errs and keeps retrying const deleted$ = Rx.interval(100).pipe( switchMap(() => @@ -146,8 +148,6 @@ export function ReportingAPIProvider({ getService }: FtrProviderContext) { const reportsDeleted = await deleted$.toPromise(); expect(reportsDeleted).to.be(true); - - log.debug('ReportingAPI.deleteAllReports'); }, expectRecentPdfAppStats(stats: UsageStats, app: string, count: number) {