From c8a32dde0b556d79ce3e0006a2f7694d2f620edb Mon Sep 17 00:00:00 2001 From: Neta Nir Date: Sun, 29 Mar 2020 18:01:54 -0700 Subject: [PATCH] fix(aws-kinesis): test assume order between stacks --- packages/@aws-cdk/aws-kinesis/test/test.stream.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/@aws-cdk/aws-kinesis/test/test.stream.ts b/packages/@aws-cdk/aws-kinesis/test/test.stream.ts index 40c37a49296ea..829e4f68f6b60 100644 --- a/packages/@aws-cdk/aws-kinesis/test/test.stream.ts +++ b/packages/@aws-cdk/aws-kinesis/test/test.stream.ts @@ -958,8 +958,7 @@ export = { const stackB = new Stack(app, 'stackB'); const user = new iam.User(stackB, 'UserWhoNeedsAccess'); streamFromStackA.grantRead(user); - - test.throws(() => app.synth(), /'stackB' depends on 'stackA'/); + test.throws(() => app.synth(), /'stack.' depends on 'stack.'/); test.done(); } }