Skip to content

Commit

Permalink
Wait between instances, but not after the last one (#190679)
Browse files Browse the repository at this point in the history
(cherry picked from commit 965b0a6)
  • Loading branch information
afharo committed Aug 19, 2024
1 parent c6c47cf commit bae9196
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,8 @@ describe('migration v2', () => {
errors.push(err.message);
})
);
if (i < instances.length - 1) {
if (i < instances.length - 2) {
// We wait between instances, but not after the last one
await delay(delayInSec * 1000);
}
}
Expand Down

0 comments on commit bae9196

Please sign in to comment.