From e05e72e56fea8efd860be17228a63ff4761341a5 Mon Sep 17 00:00:00 2001 From: Sandra Gonzales Date: Mon, 12 Oct 2020 19:29:35 -0400 Subject: [PATCH] add missing await to fix test (#80202) (#80217) --- .../ingest_manager_api_integration/apis/fleet/agents/upgrade.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/test/ingest_manager_api_integration/apis/fleet/agents/upgrade.ts b/x-pack/test/ingest_manager_api_integration/apis/fleet/agents/upgrade.ts index 090279eaa7c30..f90c1d7bcbd6f 100644 --- a/x-pack/test/ingest_manager_api_integration/apis/fleet/agents/upgrade.ts +++ b/x-pack/test/ingest_manager_api_integration/apis/fleet/agents/upgrade.ts @@ -180,7 +180,7 @@ export default function (providerContext: FtrProviderContext) { }); it('should not upgrade an unenrolled agent during bulk_upgrade', async () => { const kibanaVersion = await kibanaServer.version.get(); - kibanaServer.savedObjects.update({ + await kibanaServer.savedObjects.update({ id: 'agent1', type: AGENT_SAVED_OBJECT_TYPE, attributes: { unenrolled_at: new Date().toISOString() },