flakytest.dev anze3db fedidevs
Tests / confs/tests.py

TestMigratedLegacyConferences::test_djangoconus_date_redirects

First seen 13 hours ago in 0c23747
CI github-actions:test 4 runs
Average
157 ms
median 162 ms
max 255 ms
Phases
Setup 3 ms Call 152 ms Teardown 3 ms
Categories
Database 10 ms Other (Libraries, pytest, Unsampled) 148 ms

5 database queries per run

Needs 0 KB of memory (max 0 KB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 8 hours ago · open run
Show pytest frames
setup0.61 ms1.2%
call47 ms91.9%
TestMigratedLegacyConferences.test_djangoconus_date_redirectsconfs/tests.py:193 response = self.client.get(reverse("djangoconus", args=[dt.date(2023, 10, 16)]))38 ms75.7%
Client.getdjango/test/client.py:113338 ms75.7%
RequestFactory.getdjango/test/client.py:47538 ms75.7%
RequestFactory.genericdjango/test/client.py:67138 ms75.7%
Client.requestdjango/test/client.py:109138 ms75.7%
ClientHandler.__call__django/test/client.py:17338 ms75.7%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6338 ms75.7%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10436 ms70.3%
WhiteNoise.add_fileswhitenoise/base.py:10836 ms70.3%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12025 ms48.7%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13122 ms43.3%
WhiteNoise.get_static_filewhitenoise/base.py:21719 ms37.9%
StaticFile.__init__whitenoise/responders.py:728 ms16.2%
StaticFile.get_file_statswhitenoise/responders.py:1575 ms10.8%
__init____init__:-15 ms10.8%
FileEntry.__init__whitenoise/responders.py:2635 ms10.8%
FileEntry.stat_regular_filewhitenoise/responders.py:2875 ms10.8%
StaticFile.get_file_statswhitenoise/responders.py:1613 ms5.4%
__init____init__:-13 ms5.4%
FileEntry.__init__whitenoise/responders.py:2603 ms5.4%
<GC>~3 ms5.4%
StaticFile.__init__whitenoise/responders.py:735 ms10.8%
StaticFile.get_headerswhitenoise/responders.py:1785 ms10.8%
Headers.__getitem__<stdlib>/wsgiref/headers.py:833 ms5.4%
Headers.get<stdlib>/wsgiref/headers.py:1073 ms5.4%
StaticFile.__init__whitenoise/responders.py:763 ms5.4%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1883 ms5.4%
WhiteNoise.get_static_filewhitenoise/base.py:2123 ms5.4%
WhiteNoise.add_cache_headerswhitenoise/base.py:2333 ms5.4%
WhiteNoiseMiddleware.immutable_file_testwhitenoise/middleware.py:1763 ms5.4%
WhiteNoiseMiddleware.get_static_urlwhitenoise/middleware.py:1973 ms5.4%
new_method_proxy.<locals>.innerdjango/utils/functional.py:2533 ms5.4%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:1323 ms5.4%
WhiteNoise.update_files_dictionarywhitenoise/base.py:11511 ms21.6%
scantreewhitenoise/base.py:27111 ms21.6%
scantreewhitenoise/base.py:27111 ms21.6%
scantreewhitenoise/base.py:2738 ms16.2%
scantreewhitenoise/base.py:2693 ms5.4%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:1113 ms5.4%
WhiteNoise.add_fileswhitenoise/base.py:1083 ms5.4%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1203 ms5.4%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:1313 ms5.4%
WhiteNoise.get_static_filewhitenoise/base.py:2173 ms5.4%
StaticFile.__init__whitenoise/responders.py:733 ms5.4%
StaticFile.get_headerswhitenoise/responders.py:1673 ms5.4%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()5 ms10.8%
TestCase._fixture_teardowndjango/test/testcases.py:14985 ms10.8%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4955 ms10.8%
CursorWrapper.executedjango/db/backends/utils.py:795 ms10.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:925 ms10.8%
CursorWrapper._executedjango/db/backends/utils.py:1035 ms10.8%
Cursor.executepsycopg/cursor.py:1135 ms10.8%
Connection.waitpsycopg/connection.py:4955 ms10.8%
TransactionTestCase._pre_setupdjango/test/testcases.py:1167 cls._fixture_setup()3 ms5.4%
TestCase._fixture_setupdjango/test/testcases.py:14813 ms5.4%
TestCase._enter_atomicsdjango/test/testcases.py:13993 ms5.4%
Atomic.__enter__django/db/transaction.py:2233 ms5.4%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:263 ms5.4%
BaseDatabaseWrapper.savepointdjango/db/backends/base/base.py:4003 ms5.4%
BaseDatabaseWrapper._savepointdjango/db/backends/base/base.py:3663 ms5.4%
teardown3 ms6.9%
TestCase.tearDownClassdjango/test/testcases.py:1458 conn.close()2 ms4.6%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:262 ms4.6%
BaseDatabaseWrapper.closedjango/db/backends/base/base.py:3552 ms4.6%
DatabaseWrapper._closedjango/db/backends/postgresql/base.py:4082 ms4.6%
Connection.closepsycopg/connection.py:2012 ms4.6%
TestCase.tearDownClassdjango/test/testcases.py:1456 cls._rollback_atomics(cls.cls_atomics)1 ms2.3%
TestCase._rollback_atomicsdjango/test/testcases.py:14081 ms2.3%
Atomic.__exit__django/db/transaction.py:3071 ms2.3%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:261 ms2.3%
BaseDatabaseWrapper.rollbackdjango/db/backends/base/base.py:3371 ms2.3%
BaseDatabaseWrapper._rollbackdjango/db/backends/base/base.py:3081 ms2.3%
Connection.rollbackpsycopg/connection.py:3141 ms2.3%
Connection.waitpsycopg/connection.py:4951 ms2.3%
BaseConnection._rollback_genpsycopg/_connection_base.py:6171 ms2.3%
BaseConnection._exec_commandpsycopg/_connection_base.py:4741 ms2.3%
Estimated from 21 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Hot lines in your code

confs/tests.py:193
response = self.client.get(reverse("djangoconus", args=[dt.date(2023, 10, 16)]))
TestMigratedLegacyConferences.test_djangoconus_date_redirects · Libraries
38 ms

Fixtures

Exact setup time
_dj_autoclear_mailbox function 0.04 ms
_template_string_if_invalid_marker function 0.03 ms
_django_db_marker function 0.03 ms
_django_isolate_apps function 0.02 ms
_live_server_helper function 0.02 ms
_django_set_urlconf function 0.02 ms
_django_clear_site_cache function 0.02 ms
monkeypatch function 0.01 ms

Database

5 queries · 2 ms
No repeated queries.

Biggest pieces of work

call test body
confs/tests.py:193
38 ms
call _post_teardown
django/test/testcases.py:1243
5 ms
teardown tearDownClass
django/test/testcases.py:1458
3 ms
call _pre_setup
django/test/testcases.py:1167
3 ms
setup pytest internals 0.61 ms

Reliability

5 results · 0 CI failures · 0 local failures

This test hasn't failed recently.

History

Latest 5 results, oldest first in the strip
When Environment Outcome Duration Commit
8 hours ago CI github-actions:test passed 51 ms d923a46 main Profile
8 hours ago CI github-actions:test passed 255 ms 82997f8 main Profile
8 hours ago CI github-actions:test passed 157 ms 623aa3e main Profile
13 hours ago CI github-actions:test passed 167 ms ab6465a main Profile
13 hours ago CI github-actions:test passed 127 ms 0c23747 main Run