feat: verify that a process exists before scaling it
Refs #2582 Refs #3196
This commit is contained in:
@@ -70,6 +70,13 @@ teardown() {
|
||||
done
|
||||
}
|
||||
|
||||
@test "(ps:scale) dockerfile" {
|
||||
run bash -c "dokku ps:scale $TEST_APP non-existent=2"
|
||||
echo "output: "$output
|
||||
echo "status: "$status
|
||||
assert_failure
|
||||
}
|
||||
|
||||
@test "(ps:scale) dockerfile" {
|
||||
run bash -c "dokku ps:scale $TEST_APP web=2"
|
||||
echo "output: "$output
|
||||
|
||||
Reference in New Issue
Block a user