Skip to content

Commit

Permalink
Wait between instances, but not after the last one
Browse files Browse the repository at this point in the history
  • Loading branch information
afharo committed Aug 19, 2024
1 parent 29c5381 commit 18b72a8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,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 18b72a8

Please sign in to comment.