diff --git a/buildspec.yml b/buildspec.yml index 223c98f..2e808c9 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -11,8 +11,6 @@ phases: - cp settings.xml ~/.m2/ - export CODEARTIFACT_AUTH_TOKEN=`aws codeartifact get-authorization-token --domain cdlib-uc3-mrt --domain-owner $AWS_ACCOUNT_ID --region $AWS_REGION --query authorizationToken --output text` - aws ecr get-login-password --region $AWS_REGION | docker login --username AWS --password-stdin ${ECR_REGISTRY} - # - echo s3://${S3CFBUCKET}/api - # - aws s3 ls s3://${S3CFBUCKET}/api build: on-failure: ABORT diff --git a/design/test_plan.md b/design/test_plan.md index 406d461..c7426cc 100644 --- a/design/test_plan.md +++ b/design/test_plan.md @@ -12,3 +12,16 @@ ## Failure testing - Jobs set to fail are represented correctly in ZK batch and queue nodes - Ensure that failed jobs release all ZK locks + +## Transition/Rules Testing +- Test hold collection before starting batch +- Test hold collection as a large batch is processing +- Release job while collection is held +- Release job after collection hold is released +- Release all jobs for a collection +- Requeue job failure for each phase (document how to force failures) + - Estimating + - Downloading + - Processing + - Recording + - Notify