<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/django.git/tests/test_runner, branch 3.2</title>
<subtitle>github.com: django/django.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/django.git/'/>
<entry>
<title>[3.2.x] Fixed #29052 -- Made test database creation preserve alias order and prefer the "default" database.</title>
<updated>2021-02-16T12:08:13+00:00</updated>
<author>
<name>Harm Geerts</name>
<email>hgeerts@osso.nl</email>
</author>
<published>2021-02-15T13:42:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/django.git/commit/?id=b89ce413f2a95f22788efb01d441f7ab3b506003'/>
<id>b89ce413f2a95f22788efb01d441f7ab3b506003</id>
<content type='text'>
This fixes flushing test databases when two aliases point to the same
database.

Use a list() to store the test database aliases so the order remains
stable by following the order of the connections. Also, always use the
"default" database alias as the first alias to accommodate `migrate`.

Previously `migrate` could be executed on a secondary alias which
caused truncating the "default" database.

Backport of 06e5f7ae1639f1e275e7cc1076dc70ca3ebaa946 from master
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes flushing test databases when two aliases point to the same
database.

Use a list() to store the test database aliases so the order remains
stable by following the order of the connections. Also, always use the
"default" database alias as the first alias to accommodate `migrate`.

Previously `migrate` could be executed on a secondary alias which
caused truncating the "default" database.

Backport of 06e5f7ae1639f1e275e7cc1076dc70ca3ebaa946 from master
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed isolation of test_runner.EmptyDefaultDatabaseTest.</title>
<updated>2020-12-10T17:48:07+00:00</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2020-12-10T17:48:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/django.git/commit/?id=00a1d42bf0d83ba4b329271433eb5e3fd0f704fe'/>
<id>00a1d42bf0d83ba4b329271433eb5e3fd0f704fe</id>
<content type='text'>
This fixes test_runner.test_debug_sql.TestDebugSQL.
test_setupclass_exception when run in reverse.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes test_runner.test_debug_sql.TestDebugSQL.
test_setupclass_exception when run in reverse.</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed #32227 -- Prevented crash when setUpTestData() errors with --debug-sql.</title>
<updated>2020-11-28T11:22:59+00:00</updated>
<author>
<name>Adam Johnson</name>
<email>me@adamj.eu</email>
</author>
<published>2020-11-26T10:07:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/django.git/commit/?id=b9fd09d21b722c3745501151f9cbd5b95ccc3177'/>
<id>b9fd09d21b722c3745501151f9cbd5b95ccc3177</id>
<content type='text'>
Thanks Mariusz Felisiak for the report.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Thanks Mariusz Felisiak for the report.
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs #31811 -- Added optional timing outputs to the test runner.</title>
<updated>2020-08-13T15:17:15+00:00</updated>
<author>
<name>Ahmad A. Hussein</name>
<email>ahmadahussein0@gmail.com</email>
</author>
<published>2020-07-22T15:37:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/django.git/commit/?id=61a0ba43cfd4ff66f51a9d73dcd8ed6f6a6d9915'/>
<id>61a0ba43cfd4ff66f51a9d73dcd8ed6f6a6d9915</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed #31509 -- Made DiscoverRunner enable faulthandler by default.</title>
<updated>2020-07-10T16:55:50+00:00</updated>
<author>
<name>ovkulkarni</name>
<email>2019okulkarn@tjhsst.edu</email>
</author>
<published>2020-05-06T17:52:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/django.git/commit/?id=b7a438c7e21cdcb26d47f1c1fc5afdc1b3d1a9ef'/>
<id>b7a438c7e21cdcb26d47f1c1fc5afdc1b3d1a9ef</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs #31117 -- Made various tests properly handle unexpected databases aliases.</title>
<updated>2020-01-20T13:39:02+00:00</updated>
<author>
<name>Matthijs Kooijman</name>
<email>matthijs@stdin.nl</email>
</author>
<published>2019-12-20T19:49:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/django.git/commit/?id=2a2ea4ee18fdcf2c95bf6435bc63b74623e3085b'/>
<id>2a2ea4ee18fdcf2c95bf6435bc63b74623e3085b</id>
<content type='text'>
- Used selected "databases" instead of django.db.connections.
- Made routers in tests.migrations skip migrations on unexpected
  databases.
- Added DiscoverRunnerGetDatabasesTests.assertSkippedDatabases() hook
  which properly asserts messages about skipped databases.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Used selected "databases" instead of django.db.connections.
- Made routers in tests.migrations skip migrations on unexpected
  databases.
- Added DiscoverRunnerGetDatabasesTests.assertSkippedDatabases() hook
  which properly asserts messages about skipped databases.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed #27430 -- Added -b/--buffer option to DiscoverRunner.</title>
<updated>2019-12-09T12:47:12+00:00</updated>
<author>
<name>Baptiste Mispelon</name>
<email>bmispelon@gmail.com</email>
</author>
<published>2019-11-30T21:10:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/django.git/commit/?id=9e565386d3fafc8cc15d07095e50d574e5f53802'/>
<id>9e565386d3fafc8cc15d07095e50d574e5f53802</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs #30676 -- Added test for invalid --pdb and --parallel usage in DiscoverRunner.</title>
<updated>2019-12-09T10:12:06+00:00</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2019-12-09T10:12:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/django.git/commit/?id=f46452638885d89cacfca6831e0b9982c87b6527'/>
<id>f46452638885d89cacfca6831e0b9982c87b6527</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs #29926 -- Bumped minimum tblib version to 1.5.0 in test requirements.</title>
<updated>2019-10-23T13:26:04+00:00</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2019-10-23T12:37:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/django.git/commit/?id=25903e41fb45ce9cc80dc93bf4b51ea431dcb2b6'/>
<id>25903e41fb45ce9cc80dc93bf4b51ea431dcb2b6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs #29926 -- Skipped RemoteTestResultTest.test_add_failing_subtests() on Python 3.8+ and tblib &lt;= 1.4.0.</title>
<updated>2019-10-22T13:34:19+00:00</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2019-10-22T13:34:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/django.git/commit/?id=2847d2c760438195c4c71ea9d3fded1ce116ea4e'/>
<id>2847d2c760438195c4c71ea9d3fded1ce116ea4e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
