From 111d20c3277d3c1c5cffb4eb9e7382643013f94b Mon Sep 17 00:00:00 2001 From: Tre Date: Thu, 5 Aug 2021 10:26:40 +0100 Subject: [PATCH] Fix load to unload in after hook. --- .../tests/apps/discover/async_search.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/test/search_sessions_integration/tests/apps/discover/async_search.ts b/x-pack/test/search_sessions_integration/tests/apps/discover/async_search.ts index 82af6f9427953..3f02e64056325 100644 --- a/x-pack/test/search_sessions_integration/tests/apps/discover/async_search.ts +++ b/x-pack/test/search_sessions_integration/tests/apps/discover/async_search.ts @@ -38,7 +38,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { await PageObjects.header.waitUntilLoadingHasFinished(); }); after(async () => { - await kibanaServer.importExport.load( + await kibanaServer.importExport.unload( 'x-pack/test/functional/fixtures/kbn_archiver/discover/default' ); });