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

TestMigratedLegacyConferences::test_legacy_conferences_were_seeded

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

6 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, 7 hours ago · open run
Show pytest frames
setup1 ms28.2%
call3 ms66.9%
TestMigratedLegacyConferences.test_legacy_conferences_were_seededconfs/tests.py:129 conferences = {c.slug: c for c in Conference.objects.filter(slug__in=slugs)}2 ms50.2%
QuerySet.__iter__django/db/models/query.py:4392 ms50.2%
QuerySet._fetch_alldjango/db/models/query.py:22622 ms50.2%
ModelIterable.__iter__django/db/models/query.py:1032 ms33.4%
SQLCompiler.execute_sqldjango/db/models/sql/compiler.py:16252 ms33.4%
CursorWrapper.executedjango/db/backends/utils.py:792 ms33.4%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms33.4%
CursorWrapper._executedjango/db/backends/utils.py:1052 ms33.4%
Cursor.executepsycopg/cursor.py:1132 ms33.4%
Connection.waitpsycopg/connection.py:4952 ms33.4%
BaseCursor._execute_genpsycopg/_cursor_base.py:2062 ms33.4%
BaseCursor._maybe_prepare_genpsycopg/_cursor_base.py:2862 ms33.4%
ClientCursorMixin._execute_sendpsycopg/client_cursor.py:782 ms33.4%
ModelIterable.__iter__django/db/models/query.py:1150.76 ms16.7%
TransactionTestCase._post_teardowndjango/test/testcases.py:1243 self._fixture_teardown()0.76 ms16.7%
TestCase._fixture_teardowndjango/test/testcases.py:15000.76 ms16.7%
TestCase._rollback_atomicsdjango/test/testcases.py:14080.76 ms16.7%
Atomic.__exit__django/db/transaction.py:2950.76 ms16.7%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:260.76 ms16.7%
BaseDatabaseWrapper.savepoint_rollbackdjango/db/backends/base/base.py:4130.76 ms16.7%
BaseDatabaseWrapper._savepoint_rollbackdjango/db/backends/base/base.py:3710.76 ms16.7%
CursorWrapper.executedjango/db/backends/utils.py:790.76 ms16.7%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:920.76 ms16.7%
CursorWrapper._executedjango/db/backends/utils.py:1030.76 ms16.7%
Cursor.executepsycopg/cursor.py:1130.76 ms16.7%
Connection.waitpsycopg/connection.py:4950.76 ms16.7%
Estimated from 7 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Hot lines in your code

confs/tests.py:129
conferences = {c.slug: c for c in Conference.objects.filter(slug__in=slugs)}
TestMigratedLegacyConferences.test_legacy_conferences_were_seeded · Database
2 ms

Fixtures

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

Database

6 queries · 1 ms
No repeated queries.

Biggest pieces of work

call test body
confs/tests.py:129
2 ms
setup pytest internals 1 ms
call _post_teardown
django/test/testcases.py:1243
0.76 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 5 ms c28a326 main Profile
16 hours ago CI github-actions:test passed 7 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 7 ms 8ab642e main Profile
2 weeks, 2 days ago CI github-actions:test passed 8 ms 9b75244 main Profile
2 weeks, 2 days ago CI github-actions:test passed 5 ms 9603516 main Profile
2 weeks, 4 days ago CI github-actions:test passed 8 ms 615a272 main Profile
3 weeks ago CI github-actions:test passed 5 ms d923a46 main Profile
3 weeks ago CI github-actions:test passed 10 ms 82997f8 main Profile
3 weeks ago CI github-actions:test passed 7 ms 623aa3e main Profile
3 weeks ago CI github-actions:test passed 6 ms ab6465a main Profile
3 weeks ago CI github-actions:test passed 5 ms 0c23747 main Run