Fix running functional tests via uwsgi

Recently https://review.gerrithub.io/#/c/406626/ broke functional
tests via uwsgi because it changed how entrypoint.sh is called
which is performed during functional-tests.sh when uwsgi is used
to drive the server for testing. This changes how entrypoint.sh
is called so that the tests now pass with uwsgi.

Change-Id: I8252350676e61d5214da11e9ed282cc3399288d9
This commit is contained in:
Felipe Monteiro 2018-04-07 13:39:06 -04:00 committed by Bryan Strassner
parent a3d32c3459
commit e23f46c152

View File

@ -211,8 +211,7 @@ if [ -z "$DECKHAND_IMAGE" ]; then
# information, see: https://github.com/att-comdev/deckhand/issues/20
export DECKHAND_API_WORKERS=1
export DECKHAND_API_THREADS=4
source $ROOTDIR/../entrypoint.sh &
sleep 5
source $ROOTDIR/../entrypoint.sh server &
else
log_section "Running Deckhand via Docker"
sudo docker run \