revert: permission and trace
This commit is contained in:
@@ -71,7 +71,7 @@ teardown() {
|
||||
}
|
||||
|
||||
@test "(ps:scale) dockerfile non-existent process" {
|
||||
run bash -c "dokku --trace ps:scale $TEST_APP non-existent=2"
|
||||
run bash -c "dokku ps:scale $TEST_APP non-existent=2"
|
||||
echo "output: $output"
|
||||
echo "status: $status"
|
||||
assert_success
|
||||
@@ -79,7 +79,7 @@ teardown() {
|
||||
destroy_app
|
||||
create_app
|
||||
deploy_app dockerfile-procfile
|
||||
run bash -c "dokku --trace ps:scale $TEST_APP non-existent=2"
|
||||
run bash -c "dokku ps:scale $TEST_APP non-existent=2"
|
||||
echo "output: $output"
|
||||
echo "status: $status"
|
||||
assert_failure
|
||||
|
||||
6
tests/unit/10_ps-herokuish.bats
Executable file → Normal file
6
tests/unit/10_ps-herokuish.bats
Executable file → Normal file
@@ -87,9 +87,9 @@ teardown() {
|
||||
assert_success
|
||||
done
|
||||
|
||||
run bash -c "dokku --trace ps:scale $TEST_APP web=1 worker=1"
|
||||
echo "output: $output"
|
||||
echo "status: $status"
|
||||
run bash -c "dokku ps:scale $TEST_APP web=1 worker=1"
|
||||
echo "output: "$output
|
||||
echo "status: "$status
|
||||
assert_success
|
||||
for PROC_TYPE in web worker; do
|
||||
CIDS=""
|
||||
|
||||
Reference in New Issue
Block a user