hack: create the application after it gets destroyed
This commit is contained in:
@@ -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" {
|
||||||
|
|||||||
Reference in New Issue
Block a user