﻿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
25357	setup_databases doesn't deduplicate databases correctly on Oracle	Aymeric Augustin	nobody	"The short version is that, when `setup_databases` detects that two databases are identical, it does `connection.settings_dict['NAME'] = ...` instead of calling `connection.creation.set_as_test_mirror()`.

I'm going to attach a project that allows reproducing the issue. (Unfortunately, we don't have a convenient way to test the test runner's database creation features.)

If you set `DATABASES = DATABASES_POSTGRES` in the settings, the test passes.

If you set `DATABASES = DATABASES_ORACLE` in the settings, the test fails with `myapp.models.DoesNotExist: MyModel matching query does not exist.`."	Bug	closed	Testing framework	dev	Normal	fixed			Unreviewed	1	0	0	0	0	0
