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

TestParseHandle::test_invalid_handles

First seen 14 hours ago in 0c23747
CI github-actions:test 4 runs
Average
28 ms
median 30 ms
max 34 ms
Phases
Setup 19 ms Call 7 ms Teardown 2 ms
Categories
Database 24 ms Other (pytest, Unsampled) 4 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, 9 hours ago · open run
Show pytest frames
setup14 ms75.5%
TestCase.setUpClassdjango/test/testcases.py:1426 cls.cls_atomics = cls._enter_atomics()13 ms69.7%
TestCase._enter_atomicsdjango/test/testcases.py:139913 ms69.7%
Atomic.__enter__django/db/transaction.py:21013 ms69.7%
BaseDatabaseWrapper.get_autocommitdjango/db/backends/base/base.py:45413 ms69.7%
SimpleTestCase.ensure_connection_patch_method.<locals>.patched_ensure_connectiondjango/test/testcases.py:30413 ms69.7%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2613 ms69.7%
BaseDatabaseWrapper.ensure_connectiondjango/db/backends/base/base.py:27913 ms69.7%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2613 ms69.7%
BaseDatabaseWrapper.connectdjango/db/backends/base/base.py:25613 ms69.7%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2613 ms69.7%
DatabaseWrapper.get_new_connectiondjango/db/backends/postgresql/base.py:34513 ms69.7%
Connection.connectpsycopg/connection.py:10913 ms69.7%
wait_connpsycopg/waiting.py:1417 ms40.7%
EpollSelector.select<stdlib>/selectors.py:4527 ms40.7%
wait_connpsycopg/waiting.py:1454 ms23.2%
BaseConnection._connect_genpsycopg/_connection_base.py:4394 ms23.2%
wait_connpsycopg/waiting.py:1361 ms5.8%
BaseConnection._connect_genpsycopg/_connection_base.py:4391 ms5.8%
call4 ms22.1%
TransactionTestCase._pre_setupdjango/test/testcases.py:1167 cls._fixture_setup()2 ms11.0%
TestCase._fixture_setupdjango/test/testcases.py:14812 ms11.0%
TestCase._enter_atomicsdjango/test/testcases.py:13992 ms11.0%
Atomic.__enter__django/db/transaction.py:2232 ms11.0%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:262 ms11.0%
BaseDatabaseWrapper.savepointdjango/db/backends/base/base.py:4002 ms11.0%
BaseDatabaseWrapper._savepointdjango/db/backends/base/base.py:3672 ms11.0%
CursorWrapper.executedjango/db/backends/utils.py:792 ms11.0%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms11.0%
CursorWrapper._executedjango/db/backends/utils.py:1032 ms11.0%
Cursor.executepsycopg/cursor.py:1132 ms11.0%
Connection.waitpsycopg/connection.py:4952 ms11.0%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()2 ms11.0%
TestCase._fixture_teardowndjango/test/testcases.py:14970.99 ms5.5%
TestCase._should_check_constraintsdjango/test/testcases.py:15060.99 ms5.5%
DatabaseWrapper.is_usabledjango/db/backends/postgresql/base.py:5040.99 ms5.5%
Cursor.executepsycopg/cursor.py:1130.99 ms5.5%
Connection.waitpsycopg/connection.py:4950.99 ms5.5%
BaseCursor._execute_genpsycopg/_cursor_base.py:2060.99 ms5.5%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2860.99 ms5.5%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:780.99 ms5.5%
TestCase._fixture_teardowndjango/test/testcases.py:15000.99 ms5.5%
TestCase._rollback_atomicsdjango/test/testcases.py:14080.99 ms5.5%
Atomic.__exit__django/db/transaction.py:2950.99 ms5.5%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:260.99 ms5.5%
BaseDatabaseWrapper.savepoint_rollbackdjango/db/backends/base/base.py:4130.99 ms5.5%
BaseDatabaseWrapper._savepoint_rollbackdjango/db/backends/base/base.py:3710.99 ms5.5%
CursorWrapper.executedjango/db/backends/utils.py:790.99 ms5.5%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:920.99 ms5.5%
Estimated from 17 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Fixtures

Exact setup time
_unittest_setUpClass_fixture_TestParseHandle class 12 ms
_django_setup_unittest class 0.28 ms
_django_db_marker function 0.05 ms
_template_string_if_invalid_marker function 0.04 ms
_dj_autoclear_mailbox function 0.04 ms
_django_isolate_apps function 0.03 ms
_live_server_helper function 0.03 ms
_django_set_urlconf function 0.03 ms
_django_clear_site_cache function 0.02 ms
monkeypatch function 0.02 ms

Database

5 queries · 1 ms
No repeated queries.

Biggest pieces of work

setup setUpClass
django/test/testcases.py:1426
13 ms
call _pre_setup
django/test/testcases.py:1167
2 ms
call _post_teardown
django/test/testcases.py:1243
2 ms
setup pytest internals 1 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
9 hours ago CI github-actions:test passed 18 ms d923a46 main Profile
9 hours ago CI github-actions:test passed 34 ms 82997f8 main Profile
9 hours ago CI github-actions:test passed 32 ms 623aa3e main Profile
14 hours ago CI github-actions:test passed 28 ms ab6465a main Profile
14 hours ago CI github-actions:test passed 4 ms 0c23747 main Run