summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Magliocchetti <riccardo.magliocchetti@gmail.com>2022-03-22 16:24:37 +0100
committerGitHub <noreply@github.com>2022-03-22 16:24:37 +0100
commitaacbaf6999d18aa02cf724805950d1fa1b798bf9 (patch)
tree5efab25ebbf0e0a51f4f973d525a119339b9f179
parentb7a5cf1829c9dbddfc5107b88e4179fbc4b045cc (diff)
parent7868cc86b807fad47fb5b8d4ac1bfd0c3da9e004 (diff)
downloaduwsgi-aacbaf6999d18aa02cf724805950d1fa1b798bf9.tar.gz
Merge pull request #2417 from majorgreys/test-deadlock-add-sleep
fix(tests/deadlock): sleep before checking uwsgi process
-rwxr-xr-xtests/travis.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/travis.sh b/tests/travis.sh
index c9db45df..ac5e8953 100755
--- a/tests/travis.sh
+++ b/tests/travis.sh
@@ -77,6 +77,7 @@ test_python_deadlocks() {
echo -en "${bldred}"
# initialize with tests/deadlocks/sitecustomize.py
PYTHONPATH=tests/deadlocks ./uwsgi --plugin 0:$1 --http :8080 --exit-on-reload --touch-reload reload.txt --wsgi-file tests/deadlocks/main.py --ini $2 --daemonize uwsgi.log
+ sleep 1
echo -en "${txtrst}"
http_test "http://localhost:8080/"
echo -e "${bldyel}===================== DONE $1 $2 =====================${txtrst}\n\n"