Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
  • Loading branch information
hamistao committed Jan 18, 2025
1 parent ac64662 commit 9effdb4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion test/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ if [ "${1:-"all"}" != "standalone" ]; then
fi

if [ "${1:-"all"}" != "cluster" ]; then
run_test test_storage "storage"
run_test test_projects_default "default project"
run_test test_projects_copy "copy/move between projects"
run_test test_projects_crud "projects CRUD operations"
Expand Down Expand Up @@ -379,7 +380,6 @@ if [ "${1:-"all"}" != "cluster" ]; then
run_test test_migration "migration"
run_test test_lxc_to_lxd "LXC to LXD"
run_test test_fdleak "fd leak"
run_test test_storage "storage"
run_test test_storage_volume_snapshots "storage volume snapshots"
run_test test_init_auto "lxd init auto"
run_test test_init_dump "lxd init dump"
Expand Down
4 changes: 4 additions & 0 deletions test/suites/storage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -963,6 +963,10 @@ EOF
get_instance_size "${lxd_backend}"
fi

if [ -n "${lxd_backend}" ]; then
exit 1
fi

lxc init -s "${storage_pool}" testimage c1
# The storage pool will not be removed since it has c1 attached to it
! lxc storage delete "${storage_pool}" || false
Expand Down

0 comments on commit 9effdb4

Please sign in to comment.