Skip to content

Commit

Permalink
fix(aws-kinesis): test assume order between stacks
Browse files Browse the repository at this point in the history
  • Loading branch information
Neta Nir committed Mar 30, 2020
1 parent 3f75617 commit c8a32dd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/@aws-cdk/aws-kinesis/test/test.stream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}
Expand Down

0 comments on commit c8a32dd

Please sign in to comment.