Skip to content

Add system tests for RetrieveJob completion report

Situation

In #154 (closed) we have added the option to the RetrieveJob to report successful completion, based on the value of the parameter srcURL.

This is only important for the integration with dCache, not with EOS.
Therefore, we must guarantee that CTA works well both with dCache and EOS, and that regressions are not ever introduced.

However, since we don't include dCache in our CI, we will have to find a workaround.

Proposal

Add two new simple systems tests to the CTA CI:

  1. Retrieve request with reportURL: should receive the report at the endpoint.
  2. Retrieve request without reportURL: should delete the job without any issue.

Since we don't have dCache in our CI, we can probably resort (and modify) the EosCtaStub tool for this purpose: https://gitlab.cern.ch/cta/CTA/-/blob/main/cmdline/EosCtaStub.cpp