Skip to content

Commit

Permalink
Do not run addons tests on the host. Only on lxc containers. (#4604)
Browse files Browse the repository at this point in the history
  • Loading branch information
ktsakalozos authored Aug 5, 2024
1 parent 6286626 commit 1043c22
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions tests/libs/addons.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,6 @@ function setup_addons_tests() {
local PROXY=$3
local TO_CHANNEL=$4

if [[ ${TO_CHANNEL} =~ /.*/microk8s.*snap ]]
then
snap install "${TO_CHANNEL}" --dangerous --classic
else
snap install microk8s --channel="${TO_CHANNEL}" --classic
fi

microk8s status --wait-ready

create_machine "$NAME" "$DISTRO" "$PROXY"
if [[ ${TO_CHANNEL} =~ /.*/microk8s.*snap ]]
then
Expand Down Expand Up @@ -125,8 +116,5 @@ then
if [ "x${DISABLE_COMMUNITY_TESTS}" != "x1" ]; then
run_community_addons_tests "$NAME"
fi
run_eksd_addons_tests
run_gpu_addon_test
run_microceph_addon_test
post_addons_tests "$NAME"
fi

0 comments on commit 1043c22

Please sign in to comment.