Update test to not depend on passing named arguments via Herokuish
There may be a bug in Herokuish that messes up with quoted named arguments, see discussion in https://github.com/dokku/dokku/pull/2018
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
cron: node worker.js
|
||||
web: node web.js
|
||||
worker: node worker.js
|
||||
console: bash
|
||||
custom: echo -n
|
||||
|
||||
|
||||
# Old version with separate processes (use this if you have issues with the threaded version)
|
||||
|
||||
@@ -130,12 +130,12 @@ build_nginx_config() {
|
||||
|
||||
@test "(core) run command from Procfile" {
|
||||
deploy_app
|
||||
run /bin/bash -c "dokku run $TEST_APP console -c 'echo hi' | tail -n 1"
|
||||
run /bin/bash -c "dokku run $TEST_APP custom 'hi dokku' | tail -n 1"
|
||||
echo "output: "$output
|
||||
echo "status: "$status
|
||||
|
||||
assert_success
|
||||
assert_output "hi"
|
||||
assert_output 'hi dokku'
|
||||
}
|
||||
|
||||
@test "(core) port exposure (dockerfile raw port)" {
|
||||
|
||||
Reference in New Issue
Block a user