Code review comment for lp://staging/~toykeeper/ubuntu-power-tests/apt-update

Revision history for this message
Selene ToyKeeper (toykeeper) wrote :

If we do it at test time, apt-update must run before every test. If we do it at flash time, it only needs to happen once. I find that it can double or triple the per-test time, and is less reliable when performed in a temp directory. It's long enough that we'd also have to extend the timeouts, or every test would fail.

I'm not sure why adt-run no longer works (at all) without an apt-update, but this is the most straightforward fix I've found. Long-term I'd prefer to eliminate its dependencies though, so it wouldn't need to install anything in order to function.

« Back to merge proposal