Skip to content

Commit

Permalink
test: fix ceph storage tests
Browse files Browse the repository at this point in the history
Signed-off-by: Gabriel Mougard <[email protected]>
  • Loading branch information
gabrielmougard committed Sep 3, 2024
1 parent 495e793 commit e82c5b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/suites/storage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ EOF
lxc storage create "$storage_pool_yaml" "$lxd_backend" <<EOF
description: foo
config:
ceph.cluster_name: bar
ceph.cluster_name: ceph
EOF

[ "$(lxc storage get "$storage_pool_yaml" ceph.cluster_name)" = "bar" ]
[ "$(lxc storage get "$storage_pool_yaml" ceph.cluster_name)" = "ceph" ]
[ "$(lxc storage show "$storage_pool_yaml" | grep -i "description:" | awk '{print $2}')" = "foo" ]
fi

Expand Down

0 comments on commit e82c5b6

Please sign in to comment.