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

TestSyncAnnouncements::test_variation_is_stable_across_resyncs

First seen 3 weeks ago in 0c23747
CI github-actions:test 11 runs
Average
39 ms
median 38 ms
max 70 ms
Phases
Setup 2 ms Call 34 ms Teardown 3 ms
Categories
Database 27 ms Factories 0.50 ms App code 0.24 ms Other (Libraries, Unsampled, pytest, Mocking) 12 ms

17 database queries per run

Needs 21 KB of memory (max 40 KB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 7 hours ago · open run
This run has no samples for this test (profiler: tachyon). A test this short needs a higher rate: pytest --flakytest-profile --flakytest-rate 2000.

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
_live_server_helper function 0.05 ms
_dj_autoclear_mailbox function 0.04 ms
_django_set_urlconf function 0.04 ms
_django_clear_site_cache function 0.03 ms
monkeypatch function 0.03 ms

Database

17 queries · 7 ms

Repeated queries are usually N+1 lookups: fetch them once with select_related / prefetch_related (or selectinload).

4×
SELECT "confs_conference"."id", "confs_conference"."name", "confs_conference"."slug", "confs_conference"."location", "confs_conference"."start_date", "confs_conference"."end_date", "confs_conference"."time_zone", "confs_conference"."archived_date", "confs_conference"."approved_at", "confs_conferenc…

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 22 ms c28a326 main Profile
16 hours ago CI github-actions:test passed 33 ms 9b8826a main Profile
22 hours ago CI github-actions:test passed 38 ms 4f01055 main Profile
1 week, 5 days ago CI github-actions:test passed 49 ms 8ab642e main Profile
2 weeks, 2 days ago CI github-actions:test passed 38 ms 9b75244 main Profile
2 weeks, 2 days ago CI github-actions:test passed 27 ms 9603516 main Profile
2 weeks, 4 days ago CI github-actions:test passed 42 ms 615a272 main Profile
3 weeks ago CI github-actions:test passed 27 ms d923a46 main Profile
3 weeks ago CI github-actions:test passed 36 ms 82997f8 main Profile
3 weeks ago CI github-actions:test passed 49 ms 623aa3e main Profile
3 weeks ago CI github-actions:test passed 70 ms ab6465a main Profile
3 weeks ago CI github-actions:test passed 20 ms 0c23747 main Run