forked from toolshed/abra
fix!: chaos consistency (deploy/undeploy/rollback/upgrade)
See coop-cloud/organising#559 --chaos for rollback/upgrade goes away.
This commit is contained in:
@ -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'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user