diff --git a/tests/integration/app_deploy.bats b/tests/integration/app_deploy.bats index 4f3bcbee..be73a494 100644 --- a/tests/integration/app_deploy.bats +++ b/tests/integration/app_deploy.bats @@ -87,8 +87,10 @@ teardown(){ assert_success } -# bats test_tags=slow @test "bail if recipe lint errors and no --chaos" { + run git -C "$ABRA_DIR/recipes/$TEST_RECIPE" checkout main + assert_success + # Break the recipe run sed -i '/traefik.enable=.*/d' "$ABRA_DIR/recipes/$TEST_RECIPE/compose.yml" assert_success @@ -100,8 +102,8 @@ teardown(){ assert_success # Make a broken release - run $ABRA recipe sync --patch "$TEST_RECIPE" run $ABRA recipe release --patch -n "$TEST_RECIPE" + assert_success # Make sure we deploy latest _wipe_env_version