Skip to content

Commit

Permalink
chore(msk): add ignore-assets pragma to cluster integ test (aws#14725)
Browse files Browse the repository at this point in the history
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.


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
njlynch authored and hollanddd committed Aug 26, 2021
1 parent 0508e88 commit 436b07b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-msk/test/integ.cluster.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand Down

0 comments on commit 436b07b

Please sign in to comment.