Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion tests/e2e/delete-stale-changesets.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ exports.deleteStaleChangesets = async (client, stackName) => {
if (
changeset.Status === "FAILED" &&
changeset.StatusReason ===
`The submitted information didn't contain changes. Submit different information to create a change set.`
`The submitted information didn't contain changes. Submit different information to create a change set.` &&
changeset.CreationTime < new Date(Date.now() - 5 * 60 * 1000)
) {
console.log("Deleting stale changeset", changeset.ChangeSetId);
await new Promise((r) => setTimeout(r, 200));
Expand Down
Loading