Skip to content

Commit

Permalink
test/main: warn on non-latest/edge snap channels
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Deziel <[email protected]>
  • Loading branch information
simondeziel committed Apr 19, 2024
1 parent 4196305 commit 3f7c7c1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions microcloud/test/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ import_subdir_files includes
echo "==> Checking for dependencies"
check_dependencies lxc lxd curl awk jq git python3 shuf rsync openssl

echo "===> Checking that all snap channels are set to latest/edge"
check_snap_channels

cleanup() {
# Do not exit if commands fail on cleanup. (No need to reset -e as this is only run on test suite exit).
set -eux
Expand Down Expand Up @@ -131,6 +128,9 @@ set -u

export MICROCLOUD_SNAP_PATH

echo "===> Checking that all snap channels are set to latest/edge"
check_snap_channels

run_test() {
TEST_CURRENT="${1}"
TEST_CURRENT_DESCRIPTION="${2:-${1}}"
Expand Down

0 comments on commit 3f7c7c1

Please sign in to comment.