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

MigrationInsightsTest::test_replace_insight

First seen 3 weeks ago in 0b902f6
CI github-actions:test 11 runs
Average
70 ms
median 71 ms
max 105 ms
Phases
Setup 0.78 ms Call 0.15 ms Teardown 69 ms
Categories
Other (DB schema, Unsampled, pytest, Libraries) 70 ms

1 database queries per run

Needs 1 KB of memory (max 4 KB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 16 hours ago · open run
Show pytest frames
teardown42 ms98.2%
django_db_setuppytest_django/fixtures.py:211 teardown_databases(db_cfg, verbosity=request.config.option.verbose)42 ms98.2%
teardown_databasesdjango/test/utils.py:38142 ms98.2%
BaseDatabaseCreation.destroy_test_dbdjango/db/backends/base/creation.py:33042 ms98.2%
DatabaseCreation._destroy_test_dbdjango/db/backends/postgresql/creation.py:9142 ms98.2%
BaseDatabaseCreation._destroy_test_dbdjango/db/backends/base/creation.py:34634 ms81.0%
CursorWrapper.executedjango/db/backends/utils.py:7934 ms81.0%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:9234 ms81.0%
CursorWrapper._executedjango/db/backends/utils.py:10334 ms81.0%
Cursor.executepsycopg/cursor.py:11334 ms81.0%
Connection.waitpsycopg/connection.py:49534 ms81.0%
BaseDatabaseCreation._destroy_test_dbdjango/db/backends/base/creation.py:3457 ms17.2%
DatabaseWrapper._nodb_cursordjango/db/backends/postgresql/base.py:5087 ms17.2%
BaseDatabaseWrapper._nodb_cursordjango/db/backends/base/base.py:7127 ms17.2%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:267 ms17.2%
BaseDatabaseWrapper.cursordjango/db/backends/base/base.py:3207 ms17.2%
BaseDatabaseWrapper._cursordjango/db/backends/base/base.py:2967 ms17.2%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:267 ms17.2%
BaseDatabaseWrapper.ensure_connectiondjango/db/backends/base/base.py:2797 ms17.2%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:267 ms17.2%
BaseDatabaseWrapper.connectdjango/db/backends/base/base.py:2567 ms17.2%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:267 ms17.2%
DatabaseWrapper.get_new_connectiondjango/db/backends/postgresql/base.py:3337 ms17.2%
Connection.connectpsycopg/connection.py:1097 ms17.2%
wait_connpsycopg/waiting.py:1454 ms9.8%
BaseConnection._connect_genpsycopg/_connection_base.py:4394 ms9.8%
wait_connpsycopg/waiting.py:1413 ms7.4%
EpollSelector.select<stdlib>/selectors.py:4523 ms7.4%
Estimated from 40 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Fixtures

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

Database

1 queries · 33 ms
No repeated queries.

Biggest pieces of work

teardown fixture django_db_setup (session scope)
pytest_django/fixtures.py:211
42 ms

Reliability

11 results · 0 CI failures · 0 local failures

This test hasn't failed recently.

History

Latest 11 results, oldest first in the strip
When Environment Outcome Duration Commit
16 hours ago CI github-actions:test passed 42 ms e141198 main Profile
1 week, 5 days ago CI github-actions:test passed 58 ms 46ec2aa main Profile
2 weeks, 1 day ago CI github-actions:test passed 74 ms afde85b main Profile
2 weeks, 1 day ago CI github-actions:test passed 71 ms fe29f9d main Profile
2 weeks, 1 day ago CI github-actions:test passed 79 ms 044719a main Profile
2 weeks, 2 days ago CI github-actions:test passed 63 ms b3fedae main Profile
2 weeks, 4 days ago CI github-actions:test passed 75 ms 43c4eda main Profile
2 weeks, 6 days ago CI github-actions:test passed 74 ms 9caa567 main Profile
2 weeks, 6 days ago CI github-actions:test passed 70 ms ec75501 main Profile
3 weeks ago CI github-actions:test passed 105 ms d2c12e5 main Profile
3 weeks ago CI github-actions:test passed 59 ms 0b902f6 main Profile