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:
1 parent
e64daa18cf
commit
6548cc4477
2 files changed
+3
-3
No files matched your search
@@ -6,7 +6,7 @@
|
|||||||
cron: node worker.js
|
cron: node worker.js
|
||||||
web: node web.js
|
web: node web.js
|
||||||
worker: node worker.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)
|
# 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" {
|
@test "(core) run command from Procfile" {
|
||||||
deploy_app
|
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 "output: "$output
|
||||||
echo "status: "$status
|
echo "status: "$status
|
||||||
|
|
||||||
assert_success
|
assert_success
|
||||||
assert_output "hi"
|
assert_output 'hi dokku'
|
||||||
}
|
}
|
||||||
|
|
||||||
@test "(core) port exposure (dockerfile raw port)" {
|
@test "(core) port exposure (dockerfile raw port)" {
|
||||||
|
|||||||
Reference in new issue
Block a user