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

TestMigratedLegacyConferences::test_account_kwargs_from_json

First seen 1 month, 1 week ago in 0c23747
CI github-actions:test 13 runs
Average
22 ms
median 20 ms
max 35 ms
Phases
Setup 18 ms Call 4 ms Teardown 0.25 ms
Categories
Database 19 ms Other (pytest, Libraries, Unsampled) 3 ms

5 database queries per run

Needs 0 KB of memory (max 4 KB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 2 weeks ago · open run
Show pytest frames
setup11 ms78.1%
TestCase.setUpClassdjango/test/testcases.py:1426 cls.cls_atomics = cls._enter_atomics()10 ms71.0%
TestCase._enter_atomicsdjango/test/testcases.py:139910 ms71.0%
Atomic.__enter__django/db/transaction.py:21010 ms71.0%
BaseDatabaseWrapper.get_autocommitdjango/db/backends/base/base.py:45410 ms71.0%
SimpleTestCase.ensure_connection_patch_method.<locals>.patched_ensure_connectiondjango/test/testcases.py:30410 ms71.0%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2610 ms71.0%
BaseDatabaseWrapper.ensure_connectiondjango/db/backends/base/base.py:27910 ms71.0%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2610 ms71.0%
BaseDatabaseWrapper.connectdjango/db/backends/base/base.py:25610 ms71.0%
DatabaseWrapper.get_new_connectionfedidevs/db/postgresql/base.py:39 return super().get_new_connection(conn_params)10 ms71.0%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2610 ms71.0%
DatabaseWrapper.get_new_connectiondjango/db/backends/postgresql/base.py:34510 ms71.0%
Connection.connectpsycopg/connection.py:10910 ms71.0%
wait_connpsycopg/waiting.py:1415 ms35.5%
EpollSelector.select<stdlib>/selectors.py:4525 ms35.5%
wait_connpsycopg/waiting.py:1454 ms28.4%
BaseConnection._connect_genpsycopg/_connection_base.py:4394 ms28.4%
wait_connpsycopg/waiting.py:1361 ms7.1%
BaseConnection._connect_genpsycopg/_connection_base.py:4391 ms7.1%
__init____init__:-11 ms7.1%
call3 ms20.7%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()2 ms13.8%
TestCase._fixture_teardowndjango/test/testcases.py:14971 ms6.9%
TestCase._should_check_constraintsdjango/test/testcases.py:15061 ms6.9%
DatabaseWrapper.is_usabledjango/db/backends/postgresql/base.py:5041 ms6.9%
Cursor.executepsycopg/cursor.py:1131 ms6.9%
Connection.waitpsycopg/connection.py:4951 ms6.9%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms6.9%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms6.9%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms6.9%
TestCase._fixture_teardowndjango/test/testcases.py:15001 ms6.9%
TestCase._rollback_atomicsdjango/test/testcases.py:14081 ms6.9%
Atomic.__exit__django/db/transaction.py:2951 ms6.9%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:261 ms6.9%
BaseDatabaseWrapper.savepoint_rollbackdjango/db/backends/base/base.py:4131 ms6.9%
BaseDatabaseWrapper._savepoint_rollbackdjango/db/backends/base/base.py:3711 ms6.9%
CursorWrapper.executedjango/db/backends/utils.py:791 ms6.9%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms6.9%
CursorWrapper._executedjango/db/backends/utils.py:1031 ms6.9%
Cursor.executepsycopg/cursor.py:1131 ms6.9%
Connection.waitpsycopg/connection.py:4951 ms6.9%
BaseCursor._execute_genpsycopg/_cursor_base.py:2061 ms6.9%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2861 ms6.9%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:781 ms6.9%
TransactionTestCase._pre_setupdjango/test/testcases.py:1167 cls._fixture_setup()1 ms6.9%
TestCase._fixture_setupdjango/test/testcases.py:14811 ms6.9%
TestCase._enter_atomicsdjango/test/testcases.py:13991 ms6.9%
Atomic.__enter__django/db/transaction.py:2231 ms6.9%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:261 ms6.9%
BaseDatabaseWrapper.savepointdjango/db/backends/base/base.py:4001 ms6.9%
BaseDatabaseWrapper._savepointdjango/db/backends/base/base.py:3671 ms6.9%
CursorWrapper.executedjango/db/backends/utils.py:791 ms6.9%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms6.9%
CursorWrapper._executedjango/db/backends/utils.py:1031 ms6.9%
Cursor.executepsycopg/cursor.py:1131 ms6.9%
Connection.waitpsycopg/connection.py:4951 ms6.9%
Estimated from 14 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Hot lines in your code

fedidevs/db/postgresql/base.py:39
return super().get_new_connection(conn_params)
DatabaseWrapper.get_new_connection · Database
10 ms

Fixtures

Exact setup time
_unittest_setUpClass_fixture_TestMigratedLegacyConferences class 10 ms
_django_setup_unittest class 0.27 ms
_template_string_if_invalid_marker function 0.04 ms
_django_db_marker function 0.04 ms
_django_isolate_apps function 0.04 ms
_dj_autoclear_mailbox function 0.04 ms
_live_server_helper function 0.03 ms
_django_set_urlconf function 0.03 ms
_django_clear_site_cache function 0.03 ms
monkeypatch function 0.02 ms

Database

5 queries · 2 ms
No repeated queries.

Biggest pieces of work

setup setUpClass
django/test/testcases.py:1426
10 ms
call _post_teardown
django/test/testcases.py:1243
2 ms
setup __init__
__init__:-1
1 ms
call _pre_setup
django/test/testcases.py:1167
1 ms

Reliability

14 results · 0 CI failures · 0 local failures

This test hasn't failed recently.

History

Latest 14 results, oldest first in the strip
When Environment Outcome Duration Commit
2 weeks ago CI github-actions:test passed 15 ms 28600ed main Profile
2 weeks, 5 days ago CI github-actions:test passed 15 ms 600b717 main Profile
2 weeks, 6 days ago CI github-actions:test passed 30 ms c28a326 main Profile
3 weeks ago CI github-actions:test passed 13 ms 9b8826a main Profile
3 weeks ago CI github-actions:test passed 33 ms 4f01055 main Profile
1 month ago CI github-actions:test passed 15 ms 8ab642e main Profile
1 month ago CI github-actions:test passed 35 ms 9b75244 main Profile
1 month ago CI github-actions:test passed 20 ms 9603516 main Profile
1 month, 1 week ago CI github-actions:test passed 28 ms 615a272 main Profile
1 month, 1 week ago CI github-actions:test passed 17 ms d923a46 main Profile
1 month, 1 week ago CI github-actions:test passed 14 ms 82997f8 main Profile
1 month, 1 week ago CI github-actions:test passed 28 ms 623aa3e main Profile
1 month, 1 week ago CI github-actions:test passed 28 ms ab6465a main Profile
1 month, 1 week ago CI github-actions:test passed 2 ms 0c23747 main Run