integration tests are skipped when the test user password is not in the env
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
Medium
|
Leo Arias | ||
snapcraft (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Yakkety |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
We run the integration tests against staging passing the password of an existing user in an environment variable.
When that variable is not present, the tests are skipped.
We can run the tests against a fake local implementation of the servers. Then CI will execute the tests against the staging servers. If both tests pass we are ok. If one of them fail, then either the fake server is out of sync or there is a real error.
[Impact]
* No visible impact for users.
* This change will prevent regressions on the functions that touch the store.
[Test Case]
* N/A
[Regression Potential]
* The tests could fail, which would block the proposed-migration. If the package got to proposed, this didn't happen.
Changed in snapcraft: | |
importance: | Undecided → Medium |
milestone: | none → 2.10 |
status: | New → In Progress |
assignee: | nobody → Leo Arias (elopio) |
Changed in snapcraft: | |
status: | In Progress → Fix Committed |
description: | updated |
Changed in snapcraft (Ubuntu Xenial): | |
milestone: | none → xenial-updates |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
https:/ /github. com/ubuntu- core/snapcraft/ pull/511