Files
snapd/tests
Maciej Borzecki fda586b928 tests: verify that simultaneous refresh of kernel and base triggers a single reboot only
* tests/lib/fakestore/refresh: strip quoting when faking a new version

Sometimes a snap version can be quoted, eg. version: '2021112' in core18 to
avoid ambiguity whether the value is a string or a number. However, when adding
+fake1 suffix, it's clearly a string, thus the quoting should be stripped,
otherwise we produce invalid yaml.

Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>

* tests/core/kernel-and-base-single-reboot: verify there is a single reboot when refreshing kernel and boot base

Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>

* tests/core/kernel-and-base-single-reboot: comment tweaks

Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>

* tests/core/kernel-and-base-single-reboot: check revisions, check reboots

Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>

* tests/core/kernel-and-base-single-reboot: fix keeping track of current revisions

Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>

* tests/lib/fakestore: allow dots in original version

Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
2021-12-03 10:15:14 +01:00
..
2021-10-12 13:04:50 +01:00