forked from toolshed/abra
@ -65,7 +65,6 @@ teardown(){
|
||||
run $ABRA app deploy "$TEST_APP_DOMAIN" \
|
||||
--chaos --no-input --no-converge-checks
|
||||
assert_success
|
||||
assert_output --partial 'NEW CHAOS'
|
||||
}
|
||||
|
||||
# bats test_tags=slow
|
||||
@ -128,7 +127,6 @@ teardown(){
|
||||
--no-input --no-converge-checks --chaos
|
||||
assert_success
|
||||
assert_output --partial "${wantHash:0:8}"
|
||||
assert_output --partial 'NEW CHAOS'
|
||||
}
|
||||
|
||||
# bats test_tags=slow
|
||||
@ -347,3 +345,18 @@ teardown(){
|
||||
run $ABRA app secret rm "$TEST_APP_DOMAIN" --all
|
||||
assert_success
|
||||
}
|
||||
|
||||
# bats test_tags=slow
|
||||
@test "chaos version label includes dirty marker" {
|
||||
run bash -c "echo foo >> $ABRA_DIR/recipes/$TEST_RECIPE/foo"
|
||||
assert_success
|
||||
assert_exists "$ABRA_DIR/recipes/$TEST_RECIPE/foo"
|
||||
|
||||
run $ABRA app deploy "$TEST_APP_DOMAIN" \
|
||||
--no-input --no-converge-checks --chaos
|
||||
assert_success
|
||||
|
||||
run $ABRA app labels "$TEST_APP_DOMAIN" --chaos
|
||||
assert_success
|
||||
assert_output --regexp 'chaos-version.*+U'
|
||||
}
|
||||
|
Reference in New Issue
Block a user