forked from toolshed/abra
test: fixups for the changepocalypse
This commit is contained in:
@ -53,10 +53,13 @@ teardown(){
|
||||
|
||||
# bats test_tags=slow
|
||||
@test "show ps report with chaos deploy" {
|
||||
run $ABRA app deploy "$TEST_APP_DOMAIN" \
|
||||
--no-input --no-converge-checks --chaos
|
||||
run $ABRA app deploy "$TEST_APP_DOMAIN" --no-input --chaos
|
||||
assert_success
|
||||
|
||||
headHash=$(_get_head_hash)
|
||||
|
||||
run $ABRA app ps "$TEST_APP_DOMAIN"
|
||||
assert_success
|
||||
assert_output --partial "$latestRelease"
|
||||
assert_output --partial 'true' # is a chaos deploy
|
||||
assert_output --partial "${headHash:0:8}" # is a chaos deploy
|
||||
}
|
||||
|
Reference in New Issue
Block a user