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

TestGetSubscribeUrl::test_returns_filled_template

First seen 3 weeks ago in 0c23747
CI github-actions:test 11 runs
Average
5 ms
median 4 ms
max 14 ms
Phases
Setup 1 ms Call 3 ms Teardown 0.59 ms
Categories
Database 2 ms Other (pytest, Unsampled, Libraries, Mocking) 3 ms

5 database queries per run

Needs 1 KB of memory (max 12 KB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 7 hours ago · open run
Show pytest frames
call2 ms29.5%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()2 ms29.5%
TestCase._fixture_teardowndjango/test/testcases.py:14972 ms29.5%
TestCase._should_check_constraintsdjango/test/testcases.py:15062 ms29.5%
DatabaseWrapper.is_usabledjango/db/backends/postgresql/base.py:5042 ms29.5%
Cursor.executepsycopg/cursor.py:1132 ms29.5%
Connection.waitpsycopg/connection.py:4952 ms29.5%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms29.5%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms29.5%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms29.5%
teardown4 ms57.8%
TestCase.tearDownClassdjango/test/testcases.py:1458 conn.close()4 ms57.8%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:264 ms57.8%
BaseDatabaseWrapper.closedjango/db/backends/base/base.py:3554 ms57.8%
DatabaseWrapper._closedjango/db/backends/postgresql/base.py:4084 ms57.8%
Connection.closepsycopg/connection.py:2014 ms57.8%
Estimated from 4 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Fixtures

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

Database

5 queries · 0.69 ms
No repeated queries.

Biggest pieces of work

teardown tearDownClass
django/test/testcases.py:1458
4 ms
call _post_teardown
django/test/testcases.py:1243
2 ms

Reliability

12 results · 0 CI failures · 0 local failures

This test hasn't failed recently.

History

Latest 12 results, oldest first in the strip
When Environment Outcome Duration Commit
7 hours ago CI github-actions:test passed 6 ms c28a326 main Profile
16 hours ago CI github-actions:test passed 3 ms 9b8826a main Profile
22 hours ago CI github-actions:test passed 4 ms 4f01055 main Profile
1 week, 5 days ago CI github-actions:test passed 4 ms 8ab642e main Profile
2 weeks, 2 days ago CI github-actions:test passed 4 ms 9b75244 main Profile
2 weeks, 2 days ago CI github-actions:test passed 4 ms 9603516 main Profile
2 weeks, 4 days ago CI github-actions:test passed 4 ms 615a272 main Profile
3 weeks ago CI github-actions:test passed 4 ms d923a46 main Profile
3 weeks ago CI github-actions:test passed 4 ms 82997f8 main Profile
3 weeks ago CI github-actions:test passed 14 ms 623aa3e main Profile
3 weeks ago CI github-actions:test passed 9 ms ab6465a main Profile
3 weeks ago CI github-actions:test passed 3 ms 0c23747 main Run