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

TestContent::test_unknown_insights

First seen 2 weeks, 2 days ago in b3fedae
CI github-actions:test 6 runs
Average
2 ms
median 2 ms
max 3 ms
Phases
Setup 0.60 ms Call 1 ms Teardown 0.52 ms
Categories
Database 0.90 ms Other (Unsampled, pytest) 2 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, 17 hours ago · open run
Hide pytest frames
call1 ms51.2%
CallInfo.from_call_pytest/runner.py:3531 ms51.2%
call_and_report.<locals>.<lambda>_pytest/runner.py:2451 ms51.2%
HookCaller.__call__pluggy/_hooks.py:5121 ms51.2%
PluginManager._hookexecpluggy/_manager.py:1201 ms51.2%
_multicallpluggy/_callers.py:1211 ms51.2%
pytest_runtest_call_pytest/runner.py:1791 ms51.2%
_django_setup_unittest.<locals>.non_debugging_runtestpytest_django/plugin.py:5731 ms51.2%
SimpleTestCase.__call__django/test/testcases.py:3131 ms51.2%
SimpleTestCase._setup_and_calldjango/test/testcases.py:3711 ms51.2%
TransactionTestCase._post_teardowndjango/test/testcases.py:1240 self._fixture_teardown()1 ms51.2%
TestCase._fixture_teardowndjango/test/testcases.py:14951 ms51.2%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4831 ms51.2%
CursorWrapper.executedjango/db/backends/utils.py:791 ms51.2%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms51.2%
QueryTracker._django_wrapperflakytest/profiling/dbtrack.py:1001 ms51.2%
CursorWrapper._executedjango/db/backends/utils.py:1031 ms51.2%
Cursor.executepsycopg/cursor.py:1131 ms51.2%
Connection.waitpsycopg/connection.py:4951 ms51.2%
teardown0.62 ms23.2%
CallInfo.from_call_pytest/runner.py:3530.62 ms23.2%
call_and_report.<locals>.<lambda>_pytest/runner.py:2450.62 ms23.2%
HookCaller.__call__pluggy/_hooks.py:5120.62 ms23.2%
PluginManager._hookexecpluggy/_manager.py:1200.62 ms23.2%
_multicallpluggy/_callers.py:1210.62 ms23.2%
pytest_runtest_teardown_pytest/runner.py:1940.62 ms23.2%
SetupState.teardown_exact_pytest/runner.py:5550.62 ms23.2%
FixtureDef.finish_pytest/fixtures.py:10420.62 ms23.2%
_teardown_yield_fixture_pytest/fixtures.py:9240.62 ms23.2%
UnitTestCase._register_unittest_setup_class_fixture.<locals>.unittest_setup_class_fixture_pytest/unittest.py:1640.62 ms23.2%
TestCase.tearDownClassdjango/test/testcases.py:1453 cls._rollback_atomics(cls.cls_atomics)0.62 ms23.2%
TestCase._rollback_atomicsdjango/test/testcases.py:14050.62 ms23.2%
Atomic.__exit__django/db/transaction.py:2950.62 ms23.2%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:260.62 ms23.2%
BaseDatabaseWrapper.rollbackdjango/db/backends/base/base.py:3370.62 ms23.2%
BaseDatabaseWrapper._rollbackdjango/db/backends/base/base.py:3080.62 ms23.2%
Connection.rollbackpsycopg/connection.py:3140.62 ms23.2%
Connection.waitpsycopg/connection.py:4950.62 ms23.2%
Estimated from 2 samples; phase durations are exact. Frames from pytest and pluggy are shown .

Fixtures

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

Database

5 queries · 0.70 ms
No repeated queries.

Biggest pieces of work

call _post_teardown
django/test/testcases.py:1240
1 ms
teardown tearDownClass
django/test/testcases.py:1453
0.62 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
17 hours ago CI github-actions:test passed 3 ms e141198 main Profile
1 week, 5 days ago CI github-actions:test passed 2 ms 46ec2aa main Profile
2 weeks, 1 day ago CI github-actions:test passed 3 ms afde85b main Profile
2 weeks, 1 day ago CI github-actions:test passed 2 ms fe29f9d main Profile
2 weeks, 1 day ago CI github-actions:test passed 3 ms 044719a main Profile
2 weeks, 2 days ago CI github-actions:test passed 2 ms b3fedae main Profile