Skip to content

Commit 364ce86

Browse files
authored
chore(cli-integ): migrate tests can fail because they don't bootstrap (#32714)
CDK Migrate tests rely on other tests having bootstrapped their target regions already. That fails if they run first. Add bootstrapping commands to these tests as well. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 3170e1c commit 364ce86

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/@aws-cdk-testing/cli-integ/lib/with-cdk-app.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ export function withCdkMigrateApp<A extends TestContext>(language: string, block
117117
context.randomString,
118118
);
119119

120+
await ensureBootstrapped(fixture);
121+
120122
await fixture.cdkMigrate(language, stackName);
121123

122124
const testFixture = new TestFixture(

0 commit comments

Comments
 (0)