Skip to content

Commit

Permalink
Increase reassign attempts to 5
Browse files Browse the repository at this point in the history
  • Loading branch information
kpollich committed Nov 29, 2023
1 parent 65e0292 commit c8ba55f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/test/fleet_api_integration/apis/agents/reassign.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ export default function (providerContext: FtrProviderContext) {
await new Promise((resolve, reject) => {
let attempts = 0;
const intervalId = setInterval(async () => {
if (attempts > 2) {
if (attempts > 5) {
clearInterval(intervalId);
reject(new Error('action timed out'));
}
Expand Down

0 comments on commit c8ba55f

Please sign in to comment.