Skip to content

Commit

Permalink
Revert "run-integration-tests-in-lxd: ignore error returned by cloud-…
Browse files Browse the repository at this point in the history
…init status"

This reverts commit 06ab061.

Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
  • Loading branch information
simondeziel committed Mar 4, 2024
1 parent 4d4b450 commit fc05eff
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions integration/run-integration-tests-in-lxd
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ function run_tests {
lxc exec "$container_name" -- mkdir -p /opt/pylxd
{ cd "$DIR/.." && git archive --format=tar HEAD; } | lxc exec "$container_name" -- tar -xf - -C /opt/pylxd

# Workaround https://github.com/canonical/cloud-init/pull/4970
lxc exec "$container_name" -- cloud-init status --long --wait || true
lxc exec "$container_name" -- cloud-init status --long --wait
lxc exec "$container_name" --cwd /opt/pylxd -- integration/run-integration-tests
lxc delete --force "$container_name"
}
Expand Down

0 comments on commit fc05eff

Please sign in to comment.