run contract tests as part of CI

NEW
Unassigned

Status

P3
normal
2 years ago
2 years ago

People

(Reporter: bhearsum, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [lang=python])

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.
Whiteboard: [lang=python]
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.