Skip to content

webratz/cdk-repro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test case

This project aims to re-create the issue with integration tests that have an account specified, and require to perform lookups.

prepare

export CDK_DEFAULT_ACCOUNT=<0123567890123-CHANGEME>
aws route53 create-hosted-zone --name myexample.com --caller-reference asdf

run test

npm run integ-runner -- --parallel-regions eu-central-1 --max-workers 1 --language typescript --update-on-failed

expected error when the lookup is used

 FAILED     integ.cdk-repro.test-ApiGatewayCompleteDeploymentTest/DefaultTest (undefined/eu-central-1) 3.675s
      Integration test failed: ToolkitError: Other CLIs (PID=26620) are currently reading from /Users/dummyuuser/git/cdk-repro/test/cdk-integ.out.integ.cdk-repro.test.ts.snapshot. Invoke the CLI in sequence, or use '--output' to synth into different directories.

You can change in ExampleConstruct.ts to use the Attributes and it will work.

About

repo to build simple test cases to reproduce erros

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors