Skip to content

Commit

Permalink
Peripheral: Use random port for live test server
Browse files Browse the repository at this point in the history
Enables tox to run concurrent tests
  • Loading branch information
TayHobbs committed May 11, 2016
1 parent b6294e7 commit 42c4422
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ci.sh
@@ -1,6 +1,7 @@
#!/bin/bash

python manage.py test --with-xunit --with-xcover --cover-package=request_signer
PORT=$(($RANDOM+2000))
python manage.py test --liveserver=localhost:$PORT
TEST_EXIT=$?

echo "Flake8 Results"
Expand Down

0 comments on commit 42c4422

Please sign in to comment.