Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Fergus Dixon committed Oct 4, 2022
1 parent 1a0d770 commit 261983c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions packages/@aws-cdk/aws-ecs/test/ec2/ec2-service.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1225,8 +1225,8 @@ describe('ec2 service', () => {
});

// THEN
expect(service.node.metadataEntry[0].data).toEqual('taskDefinition and launchType are blanked out when using external deployment controller.');
expect(service.node.metadataEntry[1].data).toEqual('Deployment circuit breaker requires the ECS deployment controller.');
expect(service.node.metadata[0].data).toEqual('taskDefinition and launchType are blanked out when using external deployment controller.');
expect(service.node.metadata[1].data).toEqual('Deployment circuit breaker requires the ECS deployment controller.');

});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -546,8 +546,8 @@ describe('external service', () => {
});

// THEN
expect(service.node.metadataEntry[0].data).toEqual('taskDefinition and launchType are blanked out when using external deployment controller.');
expect(service.node.metadataEntry[1].data).toEqual('Deployment circuit breaker requires the ECS deployment controller.');
expect(service.node.metadata[0].data).toEqual('taskDefinition and launchType are blanked out when using external deployment controller.');
expect(service.node.metadata[1].data).toEqual('Deployment circuit breaker requires the ECS deployment controller.');

});
});
Original file line number Diff line number Diff line change
Expand Up @@ -678,8 +678,8 @@ describe('fargate service', () => {
});

// THEN
expect(service.node.metadataEntry[0].data).toEqual('taskDefinition and launchType are blanked out when using external deployment controller.');
expect(service.node.metadataEntry[1].data).toEqual('Deployment circuit breaker requires the ECS deployment controller.');
expect(service.node.metadata[0].data).toEqual('taskDefinition and launchType are blanked out when using external deployment controller.');
expect(service.node.metadata[1].data).toEqual('Deployment circuit breaker requires the ECS deployment controller.');

});

Expand Down

0 comments on commit 261983c

Please sign in to comment.