Skip to content

Commit

Permalink
ERL-467: tests: spread: add test to verify that the desired snaps are…
Browse files Browse the repository at this point in the history
… installed

Signed-off-by: Isaac True <[email protected]>
  • Loading branch information
IsaacJT committed Nov 23, 2023
1 parent 0a8a6fd commit 2c5fbf8
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions tests/spread/snaps/task.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---

summary: "Verify installed snaps"

systems:
- "nemos-image-reference-*"

execute: |
# Wait for snapd to finish setting itself up
TIMEOUT=1000
while [ $(systemctl is-active snapd.seeded) != "active" ] && [ $TIMEOUT -gt 0 ]; do
sleep 1
TIMEOUT=$((${TIMEOUT} - 1))
done
for snap in \
snapd \
checkbox22 \
checkbox \
checkbox-erlangen-classic \
core22; do
snap list "${snap}"
done

0 comments on commit 2c5fbf8

Please sign in to comment.