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

TestGetSubscribeUrl::test_no_subscribe_link

First seen 1 month, 1 week ago in 0c23747
CI github-actions:test 13 runs
Average
24 ms
median 20 ms
max 45 ms
Phases
Setup 18 ms Call 6 ms Teardown 0.24 ms
Categories
Database 21 ms Other (pytest, Libraries, Unsampled, Mocking, ...) 3 ms

5 database queries per run

Needs 1 KB of memory (max 16 KB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 2 weeks ago · open run
Show pytest frames
setup20 ms66.9%
TestCase.setUpClassdjango/test/testcases.py:1426 cls.cls_atomics = cls._enter_atomics()18 ms59.8%
TestCase._enter_atomicsdjango/test/testcases.py:139918 ms59.8%
Atomic.__enter__django/db/transaction.py:21018 ms59.8%
BaseDatabaseWrapper.get_autocommitdjango/db/backends/base/base.py:45418 ms59.8%
SimpleTestCase.ensure_connection_patch_method.<locals>.patched_ensure_connectiondjango/test/testcases.py:30418 ms59.8%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2618 ms59.8%
BaseDatabaseWrapper.ensure_connectiondjango/db/backends/base/base.py:27918 ms59.8%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2618 ms59.8%
BaseDatabaseWrapper.connectdjango/db/backends/base/base.py:25618 ms59.8%
DatabaseWrapper.get_new_connectionfedidevs/db/postgresql/base.py:39 return super().get_new_connection(conn_params)18 ms59.8%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:2618 ms59.8%
DatabaseWrapper.get_new_connectiondjango/db/backends/postgresql/base.py:34518 ms59.8%
Connection.connectpsycopg/connection.py:10918 ms59.8%
wait_connpsycopg/waiting.py:1458 ms28.2%
BaseConnection._connect_genpsycopg/_connection_base.py:4398 ms28.2%
wait_connpsycopg/waiting.py:1416 ms21.1%
EpollSelector.select<stdlib>/selectors.py:4526 ms21.1%
wait_connpsycopg/waiting.py:1363 ms10.6%
BaseConnection._connect_genpsycopg/_connection_base.py:4393 ms10.6%
call10 ms32.5%
TransactionTestCase._pre_setupdjango/test/testcases.py:1167 cls._fixture_setup()5 ms18.0%
TestCase._fixture_setupdjango/test/testcases.py:14815 ms18.0%
TestCase._enter_atomicsdjango/test/testcases.py:13995 ms18.0%
Atomic.__enter__django/db/transaction.py:2235 ms18.0%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:265 ms18.0%
BaseDatabaseWrapper.savepointdjango/db/backends/base/base.py:4005 ms18.0%
BaseDatabaseWrapper._savepointdjango/db/backends/base/base.py:3675 ms18.0%
CursorWrapper.executedjango/db/backends/utils.py:795 ms18.0%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:925 ms18.0%
CursorWrapper._executedjango/db/backends/utils.py:1035 ms18.0%
Cursor.executepsycopg/cursor.py:1135 ms18.0%
Connection.waitpsycopg/connection.py:4955 ms18.0%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()4 ms14.4%
TestCase._fixture_teardowndjango/test/testcases.py:14972 ms7.2%
TestCase._should_check_constraintsdjango/test/testcases.py:15062 ms7.2%
DatabaseWrapper.is_usabledjango/db/backends/postgresql/base.py:5042 ms7.2%
Cursor.executepsycopg/cursor.py:1132 ms7.2%
Connection.waitpsycopg/connection.py:4952 ms7.2%
TestCase._fixture_teardowndjango/test/testcases.py:15002 ms7.2%
TestCase._rollback_atomicsdjango/test/testcases.py:14082 ms7.2%
Atomic.__exit__django/db/transaction.py:2951 ms3.6%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:261 ms3.6%
BaseDatabaseWrapper.savepoint_rollbackdjango/db/backends/base/base.py:4131 ms3.6%
BaseDatabaseWrapper._savepoint_rollbackdjango/db/backends/base/base.py:3711 ms3.6%
CursorWrapper.executedjango/db/backends/utils.py:791 ms3.6%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms3.6%
CursorWrapper._executedjango/db/backends/utils.py:1031 ms3.6%
Cursor.executepsycopg/cursor.py:1131 ms3.6%
Connection.waitpsycopg/connection.py:4951 ms3.6%
Atomic.__exit__django/db/transaction.py:2981 ms3.6%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:261 ms3.6%
BaseDatabaseWrapper.savepoint_commitdjango/db/backends/base/base.py:4311 ms3.6%
BaseDatabaseWrapper._savepoint_commitdjango/db/backends/base/base.py:3751 ms3.6%
CursorWrapper.executedjango/db/backends/utils.py:791 ms3.6%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms3.6%
CursorWrapper._executedjango/db/backends/utils.py:1031 ms3.6%
Cursor.executepsycopg/cursor.py:1131 ms3.6%
Connection.waitpsycopg/connection.py:4951 ms3.6%
Estimated from 28 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
18 ms

Fixtures

Exact setup time
_unittest_setUpClass_fixture_TestGetSubscribeUrl class 19 ms
_django_setup_unittest class 0.21 ms
_template_string_if_invalid_marker function 0.05 ms
_django_db_marker function 0.05 ms
_dj_autoclear_mailbox function 0.04 ms
_live_server_helper function 0.04 ms
_django_isolate_apps 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 · 7 ms
No repeated queries.

Biggest pieces of work

setup setUpClass
django/test/testcases.py:1426
18 ms
call _pre_setup
django/test/testcases.py:1167
5 ms
call _post_teardown
django/test/testcases.py:1243
4 ms
setup pytest internals 2 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 30 ms 28600ed main Profile
2 weeks, 5 days ago CI github-actions:test passed 45 ms 600b717 main Profile
2 weeks, 6 days ago CI github-actions:test passed 20 ms c28a326 main Profile
3 weeks ago CI github-actions:test passed 18 ms 9b8826a main Profile
3 weeks ago CI github-actions:test passed 20 ms 4f01055 main Profile
1 month ago CI github-actions:test passed 18 ms 8ab642e main Profile
1 month ago CI github-actions:test passed 21 ms 9b75244 main Profile
1 month ago CI github-actions:test passed 16 ms 9603516 main Profile
1 month, 1 week ago CI github-actions:test passed 18 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 25 ms 82997f8 main Profile
1 month, 1 week ago CI github-actions:test passed 36 ms 623aa3e main Profile
1 month, 1 week ago CI github-actions:test passed 31 ms ab6465a main Profile
1 month, 1 week ago CI github-actions:test passed 2 ms 0c23747 main Run