fix docker-options tests
This commit is contained in:
1 parent
9d387fd666
commit
9093827424
1 file changed
+4
-4
@@ -67,10 +67,10 @@ teardown() {
|
|||||||
echo "output: "$output
|
echo "output: "$output
|
||||||
echo "status: "$status
|
echo "status: "$status
|
||||||
assert_success
|
assert_success
|
||||||
run /bin/bash -c "dokku docker-options $TEST_APP | wc -l | grep -q 0"
|
run /bin/bash -c "dokku docker-options $TEST_APP | xargs"
|
||||||
echo "output: "$output
|
echo "output: "$output
|
||||||
echo "status: "$status
|
echo "status: "$status
|
||||||
assert_success
|
assert_output "Deploy options: --restart=on-failure:10"
|
||||||
}
|
}
|
||||||
|
|
||||||
@test "(docker-options) docker-options:remove (build phase)" {
|
@test "(docker-options) docker-options:remove (build phase)" {
|
||||||
@@ -105,10 +105,10 @@ teardown() {
|
|||||||
echo "output: "$output
|
echo "output: "$output
|
||||||
echo "status: "$status
|
echo "status: "$status
|
||||||
assert_success
|
assert_success
|
||||||
run /bin/bash -c "dokku docker-options $TEST_APP deploy"
|
run /bin/bash -c "dokku docker-options $TEST_APP deploy | xargs"
|
||||||
echo "output: "$output
|
echo "output: "$output
|
||||||
echo "status: "$status
|
echo "status: "$status
|
||||||
assert_output "Deploy options: none"
|
assert_output "Deploy options: --restart=on-failure:10"
|
||||||
}
|
}
|
||||||
|
|
||||||
@test "(docker-options) docker-options:remove (run phase)" {
|
@test "(docker-options) docker-options:remove (run phase)" {
|
||||||
|
|||||||
Reference in new issue
Block a user