acceptance tests fail if a server is running on port 8000
Bug #1166718 reported by
Vincent Ladeuil
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
selenium-simple-test |
Confirmed
|
High
|
Corey Goldberg |
Bug Description
It took me a while to realize why:
./ci.sh --bootstrap --acceptance
was failing.
Short answer: run.run_django doesn't properly test that the server running on 8000 is the expected one.
I couldn't find a way to use a different port or even better let the system assign a free port and use it.
Related branches
lp:~coreygoldberg/selenium-simple-test/selftest-server-port2
- Corey Goldberg (community): Approve
- Vincent Ladeuil (community): Approve
-
Diff: 338 lines (+114/-40)9 files modifiedsrc/sst/__init__.py (+2/-0)
src/sst/actions.py (+2/-2)
src/sst/scripts/run.py (+23/-14)
src/sst/selftests/assert_urls.py (+11/-11)
src/sst/selftests/current_url.py (+5/-4)
src/sst/selftests/html5.py (+2/-1)
src/sst/selftests/title.py (+9/-8)
src/sst/tests/__init__.py (+16/-0)
src/sst/tests/test_django_devserver.py (+44/-0)
Changed in selenium-simple-test: | |
status: | New → Confirmed |
importance: | Undecided → High |
description: | updated |
Changed in selenium-simple-test: | |
assignee: | nobody → Corey Goldberg (coreygoldberg) |
To post a comment you must log in.
fixed in branch...
default port is now: 8120
if port is in use, it quits with less cryptic "port is in use" error.