Skip to content

Commit

Permalink
test: fix ceph storage tests (#14037)
Browse files Browse the repository at this point in the history
attempt to fix ceph storage tests
  • Loading branch information
tomponline authored Sep 3, 2024
2 parents e219ff7 + e82c5b6 commit 1e0b353
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 1e0b353

Please sign in to comment.