﻿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
27690	remove sleep before dropping test db?	David Szotten	nobody	"Whilst looking at why a test run (with a small number of tests) was being slow, i discovered https://github.com/django/django/blob/master/django/db/backends/base/creation.py#L281

which calls `sleep(1)` before dropping the (test) db "" to avoid ""database is being accessed by other users"" errors."".

it looks like this line has been there since the beginning of the test framework: https://github.com/django/django/commit/7dce86ce0220ffb9f3f579cbd1e881e988764c9d

is this still needed? the few things i've tried seem to work fine without the sleep, but i'm not sure what other tests/checks might help make sure"	Cleanup/optimization	closed	Testing framework	dev	Normal	fixed		Russell Keith-Magee	Accepted	1	0	0	0	0	0
