Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Calvin Combs <66279577+comcalvi@users.noreply.github.com>
  • Loading branch information
azatoth and comcalvi committed Dec 17, 2022
1 parent 8706cfb commit c0015be
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1868,10 +1868,7 @@ describe('auto scaling group', () => {

test('Should validate multiple target groups i conjunction with `setScaleOnRequest()`', () => {
const stack = new cdk.Stack(undefined, 'MyStack', { env: { region: 'us-east-1', account: '1234' } });


const vpc = mockVpc(stack);

const alb = new ApplicationLoadBalancer(stack, 'alb', {
vpc,
internetFacing: true,
Expand Down Expand Up @@ -1900,7 +1897,6 @@ describe('auto scaling group', () => {
asg.scaleOnRequestCount('requests-per-minute', { targetRequestsPerMinute: 60 });

expect(asg.node.validate()).toContainEqual('Cannon use multiple target groups if `setScaleOnRequest()` is being used.');

});
});

Expand Down

0 comments on commit c0015be

Please sign in to comment.