[Django] #26791: Replace LiveServerTestCase port ranges with binding to port 0

3 views
Skip to first unread message

Django

unread,
Jun 22, 2016, 10:55:15 AM6/22/16
to django-...@googlegroups.com
#26791: Replace LiveServerTestCase port ranges with binding to port 0
------------------------------------------------+------------------------
Reporter: timgraham | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Testing framework | Version: master
Severity: Normal | Keywords:
Triage Stage: Accepted | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------------------+------------------------
Donald pointed out https://www.dnorth.net/2012/03/17/the-port-0-trick/ and
suggested that Django might be able to take advantage of that technique.

[https://groups.google.com/d/topic/django-
developers/_TD8IkSLgqE/discussion django-developers thread]

--
Ticket URL: <https://code.djangoproject.com/ticket/26791>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Jun 22, 2016, 10:58:03 AM6/22/16
to django-...@googlegroups.com
#26791: Replace LiveServerTestCase port ranges with binding to port 0
--------------------------------------+------------------------------------

Reporter: timgraham | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Testing framework | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by timgraham):

* has_patch: 0 => 1


Comment:

[https://github.com/django/django/pull/6791 PR]

--
Ticket URL: <https://code.djangoproject.com/ticket/26791#comment:1>

Django

unread,
Jun 23, 2016, 11:01:20 AM6/23/16
to django-...@googlegroups.com
#26791: Replace LiveServerTestCase port ranges with binding to port 0
-------------------------------------+-------------------------------------
Reporter: timgraham | Owner: nobody
Type: | Status: new
Cleanup/optimization |

Component: Testing framework | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by claudep):

* stage: Accepted => Ready for checkin


Comment:

Great!

--
Ticket URL: <https://code.djangoproject.com/ticket/26791#comment:2>

Django

unread,
Jun 23, 2016, 12:04:24 PM6/23/16
to django-...@googlegroups.com
#26791: Replace LiveServerTestCase port ranges with binding to port 0
-------------------------------------+-------------------------------------
Reporter: timgraham | Owner: nobody
Type: | Status: closed
Cleanup/optimization |

Component: Testing framework | Version: master
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by GitHub <noreply@…>):

* status: new => closed
* resolution: => fixed


Comment:

In [changeset:"81cdcb66bc74a0768d13f0e18872d46739028e64" 81cdcb66]:
{{{
#!CommitTicketReference repository=""
revision="81cdcb66bc74a0768d13f0e18872d46739028e64"
Fixed #26791 -- Replaced LiveServerTestCase port ranges with binding to
port 0.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/26791#comment:3>

Reply all
Reply to author
Forward
0 new messages