﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
26980	Make it easier to change what RemoteTestRunner is used	Chris Jerdonek	Chris Jerdonek	"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.
"	Cleanup/optimization	closed	Testing framework	dev	Normal	fixed			Accepted	1	0	0	0	0	0
