flakytest.dev anze3db flakytest
Tests / apps/guides/tests.py

TestContent::test_every_insight_has_a_guide

First seen 2 weeks, 2 days ago in b3fedae
CI github-actions:test 1 run
Average
6 ms
median 6 ms
max 6 ms
Phases
Setup 0.69 ms Call 5 ms Teardown 0.17 ms
Categories
Database 2 ms Other (pytest, Unsampled) 3 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, 16 hours ago · open run
Show pytest frames
call5 ms84.8%
TestContent.test_every_insight_has_a_guideapps/guides/tests.py:58 with self.subTest(insight_id):2 ms42.4%
TransactionTestCase._post_teardowndjango/test/testcases.py:1240 self._fixture_teardown()2 ms42.4%
TestCase._fixture_teardowndjango/test/testcases.py:14972 ms42.4%
TestCase._rollback_atomicsdjango/test/testcases.py:14052 ms42.4%
Atomic.__exit__django/db/transaction.py:2832 ms42.4%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:262 ms42.4%
BaseDatabaseWrapper.savepoint_rollbackdjango/db/backends/base/base.py:4132 ms42.4%
BaseDatabaseWrapper._savepoint_rollbackdjango/db/backends/base/base.py:3712 ms42.4%
CursorWrapper.executedjango/db/backends/utils.py:792 ms42.4%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms42.4%
CursorWrapper._executedjango/db/backends/utils.py:1032 ms42.4%
Cursor.executepsycopg/cursor.py:1132 ms42.4%
Connection.waitpsycopg/connection.py:4952 ms42.4%
Estimated from 2 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Hot lines in your code

apps/guides/tests.py:58
with self.subTest(insight_id):
TestContent.test_every_insight_has_a_guide · pytest
2 ms

Fixtures

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

Database

5 queries · 0.66 ms
No repeated queries.

Biggest pieces of work

call test body
apps/guides/tests.py:58
2 ms
call _post_teardown
django/test/testcases.py:1240
2 ms

Reliability

6 results · 0 CI failures · 0 local failures

This test hasn't failed recently.

History

Latest 6 results, oldest first in the strip
When Environment Outcome Duration Commit
16 hours ago CI github-actions:test passed 6 ms e141198 main Profile
1 week, 5 days ago CI github-actions:test passed 3 ms 46ec2aa main Profile
2 weeks, 1 day ago CI github-actions:test passed 6 ms afde85b main Profile
2 weeks, 1 day ago CI github-actions:test passed 4 ms fe29f9d main Profile
2 weeks, 1 day ago CI github-actions:test passed 9 ms 044719a main Profile
2 weeks, 2 days ago CI github-actions:test passed 3 ms b3fedae main Profile