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

MastodonRatelimitHeaderTests::test_creates_session_with_hook_when_none_given

First seen 22 hours ago in 4f01055
CI github-actions:test 3 runs
Average
302 ms
median 263 ms
max 412 ms
Phases
Setup 1 ms Call 1 ms Teardown 300 ms
Categories
Network 0.47 ms Other (DB schema, Unsampled, pytest, Libraries) 302 ms

1 database queries per run

Needs 3 KB of memory (max 8 KB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 7 hours ago · open run
Show pytest frames
teardown261 ms99.2%
django_db_setuppytest_django/fixtures.py:199 teardown_databases(db_cfg, verbosity=request.config.option.verbose)260 ms98.8%
teardown_databasesdjango/test/utils.py:394260 ms98.8%
BaseDatabaseCreation.destroy_test_dbdjango/db/backends/base/creation.py:336260 ms98.8%
DatabaseCreation._destroy_test_dbdjango/db/backends/postgresql/creation.py:91260 ms98.8%
BaseDatabaseCreation._destroy_test_dbdjango/db/backends/base/creation.py:352260 ms98.8%
CursorWrapper.executedjango/db/backends/utils.py:79260 ms98.8%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:92260 ms98.8%
CursorWrapper._executedjango/db/backends/utils.py:103260 ms98.8%
Cursor.executepsycopg/cursor.py:113260 ms98.8%
Connection.waitpsycopg/connection.py:495260 ms98.8%
Estimated from 257 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Fixtures

Exact setup time
_unittest_setUpClass_fixture_MastodonRatelimitHeaderTests class 0.09 ms
_django_setup_unittest class 0.07 ms
_django_isolate_apps function 0.07 ms
_template_string_if_invalid_marker function 0.06 ms
_django_db_marker function 0.05 ms
_django_set_urlconf function 0.05 ms
_live_server_helper function 0.05 ms
_dj_autoclear_mailbox function 0.03 ms
_django_clear_site_cache function 0.03 ms
monkeypatch function 0.03 ms

Database

1 queries · 246 ms
No repeated queries.

Biggest pieces of work

teardown fixture django_db_setup (session scope)
pytest_django/fixtures.py:199
260 ms
teardown pytest internals 1 ms

Reliability

3 results · 0 CI failures · 0 local failures

This test hasn't failed recently.

History

Latest 3 results, oldest first in the strip
When Environment Outcome Duration Commit
7 hours ago CI github-actions:test passed 263 ms c28a326 main Profile
16 hours ago CI github-actions:test passed 412 ms 9b8826a main Profile
22 hours ago CI github-actions:test passed 231 ms 4f01055 main Profile