Skip to content

Latest commit

 

History

History

Restate CDK e2e tests

The CDK stacks in this directory serve a dual purpose of providing usage examples, and validation targets during development.

NB: Be sure to npm run build from the top level to build the CDK constructs - and the Service Deployer in particular.

Some of these are wrapped in e2e tests you can run with:

npm run test:e2e

To run the automated e2e tests, you'll generally need valid AWS or Restate Cloud credentials. To speed things up you can set RETAIN_STACK=true. For diagnosing stack errors, you can also disable rollbacks with NO_ROLLBACK=true.

RETAIN_STACK=true npm run test:e2e -- ec2