← Back to issue list

Need a way to delete account-keys from snapcraft integration tests

View original Launchpad issue

Metadata

Project
snapcraft
Number
#1621441
Type
issue
State
open
Author
~elopio
Labels
Created
2016-09-08 11:47:18.489418+00:00
Updated
2016-09-08 15:50:17.065947+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

https://github.com/snapcore/snapcraft/pull/726 adds an integration test that creates account-keys on the store. It's currently disabled for non-fake stores because it would only ever be able to register any given key once. We need a way to disable account-keys, and the integration test should really do both once we have that capability. However, we should perhaps also generate a fresh key for each integration test run and register that. If we do that, then we need a job that periodically clears out the test account-keys from our assertions database.

Evaluation history

No evaluation history available.