fix!: chaos consistency (deploy/undeploy/rollback/upgrade)

See coop-cloud/organising#559

--chaos for rollback/upgrade goes away.
This commit is contained in:
2024-07-08 12:54:37 +02:00
parent 4580df72cb
commit c33ca1c6bc
17 changed files with 241 additions and 246 deletions

View File

@ -41,6 +41,9 @@ teardown(){
@test "undeploy app" {
_deploy_app
_undeploy_app
# NOTE(d1): ensure not chaos undeploy
assert_output --partial 'false'
}
# bats test_tags=slow
@ -50,3 +53,15 @@ teardown(){
run $ABRA app undeploy "$TEST_APP_DOMAIN" --no-input --prune
assert_success
}
# bats test_tags=slow
@test "undeploy chaos deployment" {
run $ABRA app deploy "$TEST_APP_DOMAIN" \
--no-input --no-converge-checks --chaos
_undeploy_app
# NOTE(d1): ensure chaos undeploy
assert_output --partial ${_get_current_hash:0:8}
refute_output --partial 'false'
}