diff --git a/test/cases/aws.sh b/test/cases/aws.sh index 12f32f9bd..b99265fcb 100755 --- a/test/cases/aws.sh +++ b/test/cases/aws.sh @@ -270,6 +270,9 @@ $AWS_CMD ec2 terminate-instances --instance-id "${INSTANCE_ID}" $AWS_CMD ec2 deregister-image --image-id "${AMI_IMAGE_ID}" $AWS_CMD ec2 delete-snapshot --snapshot-id "${SNAPSHOT_ID}" +# Also delete the compose so we don't run out of disk space +sudo composer-cli compose delete "${COMPOSE_ID}" > /dev/null + # Use the return code of the smoke test to determine if we passed or failed. # On rhel continue with the cloudapi test if [[ $RESULTS == 1 ]]; then diff --git a/test/cases/qemu.sh b/test/cases/qemu.sh index 5eb7c4968..804882f3e 100755 --- a/test/cases/qemu.sh +++ b/test/cases/qemu.sh @@ -301,6 +301,9 @@ else fi sudo rm -f "$LIBVIRT_IMAGE_PATH" $CLOUD_INIT_PATH +# Also delete the compose so we don't run out of disk space +sudo composer-cli compose delete "${COMPOSE_ID}" > /dev/null + # Use the return code of the smoke test to determine if we passed or failed. if [[ $RESULTS == 1 ]]; then greenprint "💚 Success"