lp:~cprov/snappy/selftest-no-net
- Get this branch:
- bzr branch lp:~cprov/snappy/selftest-no-net
Branch merges
Branch information
Recent revisions
- 29. By Martin Pitt
-
Add upgrade/rollback test
If there is a newer image version to upgrade to, do that, ensure that we
upgraded to the expected latest version, roll back, and ensure that we are back
to where we started.The test gets skipped if there is no newer version to upgrade to, or if it's
run without autopkgtest, or on an autopkgtest runner which doesn't offer
reboot. - 28. By Martin Pitt
-
Directly show output of tests
Show output of tests immediately instead of capturing it into a variable and
only showing it after test() fails. With that you can see what's going on with
rebooting tests, see SKIP messages, get more useful logs, and potentially see
error messages which cause hangs. - 27. By Martin Pitt
-
Test that service starts after reboot
Update tests/07_
test_install_ webdm to also check that webdm starts after
rebooting, if we run on a testbed that supports reboot. - 26. By Martin Pitt
-
Add framework for rebooting tests under autopkgtest
Add three new methods to framework:
- can_reboot(): checking reboot capability (false if not run under
autopkgtest, or on a testbed which doesn't offer reboot)- reboot(): Reboot testbed
- after_reboot(): Tests need to call this at the beginning to check whether
they are running before or after the requested reboot.The test runner will make sure to resume a test which requested a reboot.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~snappy-dev/snappy/snappy-moved-to-github