AptFacadeHelper needs to restore old apt config
Bug #890598 reported by
Björn Tillenius
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Client |
Won't Fix
|
Medium
|
Björn Tillenius |
Bug Description
When AptFacadeHelper creates an AptFacade, the apt config gets modified, setting the root dir for example. This can cause other tests to fail, so the config needs to be reset as, at least the most important settings.
tags: | added: points-1 squad-gamma theme-apt |
Changed in landscape-client: | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Björn Tillenius (bjornt) |
milestone: | none → 11.11.2 |
To post a comment you must log in.
Turned out resetting the config is quite hard to do, and it also seems to slow down the tests. I worked around the test failure I had by setting up the Apt config for the test.