Many soyuz tests should not depend on librarian data

Bug #348963 reported by Julian Edwards
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

A lot of tests depend on librarian data, in particular there are some that use or join through packageupload records and require the changesfile text to be present in the librarian.

The code currently uses a utility function, insertFakeChangesFile, to mask this problem.

The correct solution is to not depend so much on the sample data and use the Soyuz Test Publisher instead which will generate the right data.

Changed in soyuz:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Robert Collins (lifeless) wrote :

How can we tell if this has been done?

Changed in launchpad:
importance: Medium → Low
Revision history for this message
Julian Edwards (julian-edwards) wrote :

With difficulty, but the errant tests need to be enumerated here. I want to work through them at some point anyway and fix a load of the soyuz (uploader) tests to a) not need sample data, b) not upload a whole package just to test one tiny part of the uploader. This should speed up the tests a *lot*.

tags: added: tech-debt
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.