Pipeline Annotations
There are two annotations to use when writing pipeline tests, depending on whether the test is launching a pipeline, or checking successful completion. On a launch test use the @PipelineLaunchParams annotation:
- Specify estimatedRuntime() in minutes.
- Provide the accession number for the session which will run the pipeline under session().
- If the pipeline is contained in the Pipeline enum, specify it under pipeline(). Otherwise, set that to Custom, and provide all of the other parameters.
On a check test, use the @PipelineCheckParams annotation:
- Again specify the pipeline() variable. If your pipeline is not available in the enum, use Custom and set the pipelineName() variable manually.
- Set a maxQueueTime() and maxRuntime() in seconds.