Skip to content

Commit

Permalink
tests: reload systemd units on reset
Browse files Browse the repository at this point in the history
  • Loading branch information
morphis committed May 17, 2017
1 parent 2c626ed commit 88adec0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/lib/reset.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
set -e -x

reset_classic() {
# Reload all service units as in some situations the unit might
# have changed on the disk.
systemctl daemon-reload

systemctl stop snapd.service snapd.socket

# purge all state
Expand Down

0 comments on commit 88adec0

Please sign in to comment.