fix tests

This commit is contained in:
Michael Hobbs
2015-04-17 20:17:42 -07:00
parent e27d0e6fa5
commit 99d2601f2f
5 changed files with 70 additions and 46 deletions

View File

@@ -111,7 +111,7 @@ teardown() {
@test "(core) dockerfile port exposure" {
deploy_app dockerfile
run bash -c "grep upstream $DOKKU_ROOT/$TEST_APP/nginx.conf | grep 3000"
run bash -c "grep -A1 upstream $DOKKU_ROOT/$TEST_APP/nginx.conf | grep 3000"
echo "output: "$output
echo "status: "$status
assert_success