Skip to content

Commit

Permalink
add missing await to fix test (#80202) (#80218)
Browse files Browse the repository at this point in the history
  • Loading branch information
neptunian authored Oct 12, 2020
1 parent fa41c11 commit 4e68bc7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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() },
Expand Down

0 comments on commit 4e68bc7

Please sign in to comment.