hack: create the application after it gets destroyed

This commit is contained in:
Jose Diaz-Gonzalez
2018-08-19 21:33:28 -04:00
parent 81935a8f31
commit 2ec99bc853

View File

@@ -70,7 +70,7 @@ teardown() {
done done
} }
@test "(ps:scale) dockerfile" { @test "(ps:scale) dockerfile non-existent process" {
run bash -c "dokku ps:scale $TEST_APP non-existent=2" run bash -c "dokku ps:scale $TEST_APP non-existent=2"
echo "output: "$output echo "output: "$output
echo "status: "$status echo "status: "$status
@@ -178,6 +178,9 @@ teardown() {
echo "output: "$output echo "output: "$output
echo "status: "$status echo "status: "$status
assert_failure assert_failure
create_app
assert_success
} }
@test "(ps:scale) dockerfile with procfile" { @test "(ps:scale) dockerfile with procfile" {