Skip to content

Commit

Permalink
[Flaky test] Add missing await in infrastructure_security test suite (
Browse files Browse the repository at this point in the history
#166721)

Fixes #164250 

[Successful pipeline in the flaky test
runner](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3191).

@crespocarlos spotted the missing `await` that might cause the
`infrastructure_security` suite to still be running along
`infrastructure_spaces` and cause race conditions.
  • Loading branch information
mykolaharmash authored Sep 20, 2023
1 parent 8b21548 commit 8dd4323
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
ensureCurrentUrl: false,
shouldLoginIfPrompted: false,
});
PageObjects.error.expectForbidden();
await PageObjects.error.expectForbidden();
});
});
});
Expand Down

0 comments on commit 8dd4323

Please sign in to comment.