Skip to content

Commit

Permalink
Merge branch 'master' into codebuild-batch-service-role
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] committed Jan 26, 2021
2 parents ecf030d + d7e028a commit 339e0ea
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tools/cdk-build-tools/lib/feature-flag.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ export function testFutureBehavior<T>(

const major = cdkMajorVersion(repoRoot);
if (major === 2) {
// In CDKv2, the default behaviour is as if the feature flags are enabled. So, ignore the feature flags passed.
const app = new cdkApp();
return test(name, async () => fn(app));
// Temporaily disable CDKv2 behaviour
// const app = new cdkApp();
// return test(name, async () => fn(app));
}
const app = new cdkApp({ context: flags });
return test(name, () => fn(app));
Expand All @@ -59,8 +59,8 @@ export function testLegacyBehavior<T>(

const major = cdkMajorVersion(repoRoot);
if (major === 2) {
// In CDKv2, legacy behaviour is not supported. Skip the test.
return;
// Temporarily disable CDKv2 behaviour
// return;
}
const app = new cdkApp();
return test(name, () => fn(app));
Expand Down

0 comments on commit 339e0ea

Please sign in to comment.