commit 5d27288ae1e8bb9d5d260b790235469ae8175350 Author: Matt Traudt sirmatt@ksu.edu Date: Sun Jun 17 21:33:19 2018 -0400
Test requesting something from http server on Travis --- tox.ini | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tox.ini b/tox.ini index 69371bd..c905acc 100644 --- a/tox.ini +++ b/tox.ini @@ -23,16 +23,16 @@ whitelist_externals = tar bash sleep - cat + wget commands = tar -C {envtmpdir} -vxf {toxinidir}/tests/integration/net.tar bash {envtmpdir}/net/start.sh bash -c "time python3 {envtmpdir}/net/wait.py {envtmpdir}/net/{auth,relay,exit}*" - bash -c "python3 {toxinidir}/scripts/tools/sbws-http-server.py --port 28888 > {toxinidir}/http-server.log &" + bash -c "python3 {toxinidir}/scripts/tools/sbws-http-server.py --port 28888 &" sleep 30 + wget -O/dev/null http://127.0.0.1:28888/sbws.bin coverage run -a --rcfile={toxinidir}/.coveragerc --source=sbws -m pytest -s {toxinidir}/tests/integration -vv bash {envtmpdir}/net/stop.sh - cat {toxinidir}/http-server.log
[testenv:lint] skip_install = True
tor-commits@lists.torproject.org