Skip to content

Commit

Permalink
tests: enable the snapd socket in autopkgtest
Browse files Browse the repository at this point in the history
For reasons I don't quite understand, and cannot reproduce when running
autopkgtest locally, when the system is tested on the Debian infrastructure
snapd ends up installed but not enabled.

Enable the socket to at least have a chance to run something.

Signed-off-by: Zygmunt Krynicki <[email protected]>
  • Loading branch information
zyga committed Sep 20, 2024
1 parent 95a774f commit 38de30d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/lib/prepare-restore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ prepare_project() {
# we want to run as pristine as possible
if [ "$SPREAD_BACKEND" = autopkgtest ]; then
create_test_user
systemctl enable --now snapd.socket
exit 0
fi

Expand Down

0 comments on commit 38de30d

Please sign in to comment.