From b1fe95606e5eeaa19a9688fd557e8002c0848758 Mon Sep 17 00:00:00 2001 From: Nick Lynch Date: Mon, 17 May 2021 11:19:14 +0100 Subject: [PATCH] chore(msk): add ignore-assets pragma to cluster integ test The MSK module relies on custom resources, which in turn create a Lambda function with assets. The way the current (lerna/yarn) build works includes the .ts file (as well as the .d.ts and .js) files in the asset bundle. Using the new `nozem` build correctly only includes the .d.ts and .js files, leading to a different asset hash. Since we don't care about the actual hash anyway, adding the ignore-assets pragma so this test can pass with either build tool. --- packages/@aws-cdk/aws-msk/test/integ.cluster.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/@aws-cdk/aws-msk/test/integ.cluster.ts b/packages/@aws-cdk/aws-msk/test/integ.cluster.ts index c422a26b5cc32..c05fa496d7210 100644 --- a/packages/@aws-cdk/aws-msk/test/integ.cluster.ts +++ b/packages/@aws-cdk/aws-msk/test/integ.cluster.ts @@ -1,3 +1,4 @@ +/// !cdk-integ pragma:ignore-assets import * as ec2 from '@aws-cdk/aws-ec2'; import * as cdk from '@aws-cdk/core'; import * as msk from '../lib';