test: secret generation & --offline/chaos handling tests

This commit is contained in:
2023-09-25 10:33:15 +02:00
parent ce4b775428
commit c065ceb1f0
4 changed files with 273 additions and 19 deletions

View File

@ -86,7 +86,10 @@ teardown(){
run $ABRA app deploy "$TEST_APP_DOMAIN" --no-input --no-converge-checks
assert_success
_reset_recipe "$TEST_RECIPE"
run git -C "$ABRA_DIR/recipes/$TEST_RECIPE" status
refute_output --partial 'behind 3'
_reset_recipe
_undeploy_app
}
@ -107,7 +110,7 @@ teardown(){
assert_output --partial 'behind 3'
_undeploy_app
_reset_recipe "$TEST_RECIPE"
_reset_recipe
}
# bats test_tags=slow