Contile & Merino: Upload Contract Test Results to CircleCI Test Insights
data-sync-user opened this issue · 2 comments
data-sync-user commented
Investigate the possibility of exporting test results from the contract test client Docker image and uploading them to CircleCI in order to leverage test insights. In particular, the team could benefit from flaky test detection.
Resources
Acceptance Criteria
- Test results are output in junit-xml format, same as unit and integration tests, and uploaded to CircleCI
┆Issue is synchronized with this Jira Task
┆Epic: 2023 Q3 Maintenance
data-sync-user commented
➤ Katrina Anderson commented:
Update (2023/06/27)
- Uploading contract test results to CircleCI test insights is found to be possible by using a Docker volume. This is proven in merino-py (Git Branch ( https://github.com/mozilla-services/merino-py/tree/disco-2391 ) | CircleCI ( https://app.circleci.com/pipelines/github/mozilla-services/merino-py/1775/workflows/1e388ee2-6365-4f07-a3e2-d68b3ef34cf0/jobs/10516/tests ))
data-sync-user commented
➤ Katrina Anderson commented:
Update:
Contile PR: #607 ( https://github.com/mozilla-services/contile/pull/607|smart-link )
Merino PR: mozilla-services/merino-py#352 ( https://github.com/mozilla-services/merino-py/pull/352|smart-link )