Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: bootstrap stack too old for integ tests (#17277)
The integ tests try to be clever to save time, and rebootstrap an account and region pair only if the bootstrap stack does not exist yet. This is not good enough if the **version** of the bootstrap stack changes though (no rebootstrapping will happen), and the following error will occur: ``` ❌ cdktest-0n94n0po827f-test-2 failed: Error: cdktest-0n94n0po827f-test-2: This CDK deployment requires bootstrap stack version '6', found '4'. Please run 'cdk bootstrap'. ``` Instead, always bootstrap every account/region pair at least once per run. It will take some time, but in most cases we'll be able to short-circuit the CFN deployment, so it will take ~2s instead of ~20 per case. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
- Loading branch information