#26980: Make it easier to change what RemoteTestRunner is used
-------------------------------+--------------------
Reporter: cjerdonek | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 1.9
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------
Similar to ticket #26976, this issue is to make it easier to change what
RemoteTestRunner class is used by ParallelTestSuite.
Currently, the class name is hard-coded inside `_run_subsuite()`
[https://github.com/django/django/blob/013ee21cf8e1a4b05589c161039f244e356272ba/django/test/runner.py#L253
here]:
{{{#!python
def _run_subsuite(args):
subsuite_index, subsuite, failfast = args
runner = RemoteTestRunner(failfast=failfast)
result = runner.run(subsuite)
return subsuite_index, result.events
}}}
This could be solved by making `_run_subsuite()` a method of
ParallelTestSuite (instead of a function), and adding a
`remote_test_runner` class attribute to ParallelTestSuite.
--
Ticket URL: <https://code.djangoproject.com/ticket/26980>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/052.fe500132bea74192d326d127a29aec1d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.