run contract tests as part of CI

NEW
Unassigned

Status

Release Engineering
Balrog: Backend
P3
normal
9 months ago
9 months ago

People

(Reporter: bhearsum, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [lang=python])

(Reporter)

Description

9 months ago
Contract tests of the public API were added to Balrog in https://github.com/mozilla/balrog/pull/210. The initial intention is to run these on Cloudops QA infrastructure as part of the deployment process, but it would be good to run them as part of CI as well.

The big difference with running them in CI is that they'll need to query using Flask's TestClient instead of a real web server. This probably also means that they should import a production database dump, so that queries don't always return empty update responses.

It's probably easiest to add a new Task to do this rather than trying to run it as part of the existing backend tests.
(Reporter)

Updated

9 months ago
Whiteboard: [lang=python]
(Reporter)

Updated

9 months ago
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.