Skip to content

Commit

Permalink
feat(core): throw error when stack name exceeds length
Browse files Browse the repository at this point in the history
  • Loading branch information
peterwoodworth committed Apr 1, 2022
1 parent 53a6eaf commit 9a16a22
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ test('timeout from defaults can be overridden', () => {
test('envFromOutputs works even with very long stage and stack names', () => {
const pipeline = new ModernTestGitHubNpmPipeline(pipelineStack, 'Cdk');

const myApp = new AppWithOutput(app, 'Alpha'.repeat(20), {
stackId: 'Stack'.repeat(20),
const myApp = new AppWithOutput(app, 'Alpha'.repeat(10), {
stackId: 'Stack'.repeat(10),
});

pipeline.addStage(myApp, {
Expand Down

0 comments on commit 9a16a22

Please sign in to comment.