partial fix app_deploy.bats
continuous-integration/drone/pr Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
This commit is contained in:
parent
a44549117d
commit
e84297425e
|
@ -82,13 +82,13 @@ teardown(){
|
|||
assert_success
|
||||
|
||||
run git -C "$ABRA_DIR/recipes/$TEST_RECIPE" status
|
||||
assert_output --partial 'behind 3'
|
||||
assert_output --regexp 'behind .* 3 commits'
|
||||
|
||||
run $ABRA app deploy "$TEST_APP_DOMAIN" --no-input --no-converge-checks
|
||||
assert_success
|
||||
|
||||
run git -C "$ABRA_DIR/recipes/$TEST_RECIPE" status
|
||||
refute_output --partial 'behind 3'
|
||||
refute_output --regexp 'behind .* 3 commits'
|
||||
|
||||
_reset_recipe
|
||||
_undeploy_app
|
||||
|
@ -100,7 +100,7 @@ teardown(){
|
|||
assert_success
|
||||
|
||||
run git -C "$ABRA_DIR/recipes/$TEST_RECIPE" status
|
||||
assert_output --partial 'behind 3'
|
||||
assert_output --regexp 'behind .* 3 commits'
|
||||
|
||||
# NOTE(d1): need to use --chaos to force same commit
|
||||
run $ABRA app deploy "$TEST_APP_DOMAIN" \
|
||||
|
@ -108,7 +108,7 @@ teardown(){
|
|||
assert_success
|
||||
|
||||
run git -C "$ABRA_DIR/recipes/$TEST_RECIPE" status
|
||||
assert_output --partial 'behind 3'
|
||||
assert_output --regexp 'behind .* 3 commits'
|
||||
|
||||
_undeploy_app
|
||||
_reset_recipe
|
||||
|
|
Loading…
Reference in New Issue