Skip to content

Commit 4977ae5

Browse files
authored
chore(cli): fix test failing in CI (#19362)
One of the changes in #19216 is causing 3 unit tests in the CI environment of the pipeline to fail (for reasons not exactly clear). This changes unblocks them. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent f3a3147 commit 4977ae5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/aws-cdk/test/cdk-toolkit.test.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ describe('deploy', () => {
409409

410410
// WHEN
411411
await cdkToolkit.deploy({
412-
selector: { patterns: ['Test-Stack-A'] },
412+
selector: { patterns: ['Test-Stack-A-Display-Name'] },
413413
requireApproval: RequireApproval.Never,
414414
hotswap: true,
415415
});
@@ -444,7 +444,7 @@ describe('deploy', () => {
444444
const toolkit = defaultToolkitSetup();
445445

446446
// WHEN
447-
await toolkit.deploy({ selector: { patterns: ['Test-Stack-A'] } });
447+
await toolkit.deploy({ selector: { patterns: ['Test-Stack-A-Display-Name'] } });
448448
});
449449

450450
test('with stacks all stacks specified as wildcard', async () => {
@@ -689,7 +689,7 @@ describe('synth', () => {
689689
const toolkit = defaultToolkitSetup();
690690

691691
// THEN
692-
await toolkit.synth(['Test-Stack-A'], false, true);
692+
await toolkit.synth(['Test-Stack-A-Display-Name'], false, true);
693693
expect(mockData.mock.calls.length).toEqual(0);
694694
});
695695

0 commit comments

Comments
 (0)