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

TestCrawlerGotosocial::test_auth_gated_directory_caches_unknown_and_skips_misskey_probe

First seen 1 month, 1 week ago in 0c23747
CI github-actions:test 13 runs
Average
15 ms
median 13 ms
max 37 ms
Phases
Setup 2 ms Call 13 ms Teardown 0.36 ms
Categories
Test code 0.08 ms Other (Waiting, Unsampled, pytest, Libraries) 15 ms

Needs 50 KB of memory (max 112 KB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 2 weeks ago · open run
Show pytest frames
call7 ms87.3%
TestCrawlerGotosocial.test_auth_gated_directory_caches_unknown_and_skips_misskey_probeaccounts/tests.py:460 _, results = self._fetch(cmd, handler)6 ms72.8%
TestCrawlerGotosocial._fetchaccounts/tests.py:444 return async_to_sync(run)()6 ms72.8%
AsyncToSync.__call__asgiref/sync.py:3236 ms72.8%
CurrentThreadExecutor.run_until_futureasgiref/current_thread_executor.py:806 ms72.8%
Condition.wait<stdlib>/threading.py:3636 ms72.8%
TestCrawlerGotosocial.test_auth_gated_directory_caches_unknown_and_skips_misskey_probeaccounts/tests.py:4681 ms14.6%
TestCrawlerGotosocial._fetchaccounts/tests.py:444 return async_to_sync(run)()1 ms14.6%
AsyncToSync.__call__asgiref/sync.py:3211 ms14.6%
ThreadPoolExecutor.submit<stdlib>/concurrent/futures/thread.py:2151 ms14.6%
ThreadPoolExecutor._adjust_thread_count<stdlib>/concurrent/futures/thread.py:2371 ms14.6%
Thread.start<stdlib>/threading.py:11481 ms14.6%
Event.wait<stdlib>/threading.py:6651 ms14.6%
Condition.wait<stdlib>/threading.py:3631 ms14.6%
Estimated from 6 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Hot lines in your code

accounts/tests.py:444
return async_to_sync(run)()
TestCrawlerGotosocial._fetch · Waiting
7 ms

Fixtures

Exact setup time
_unittest_setUpClass_fixture_TestCrawlerGotosocial class 0.07 ms
_django_setup_unittest class 0.06 ms
_template_string_if_invalid_marker function 0.04 ms
_django_db_marker function 0.03 ms
_live_server_helper function 0.03 ms
_django_isolate_apps function 0.03 ms
_django_set_urlconf function 0.03 ms
_dj_autoclear_mailbox function 0.02 ms
_django_clear_site_cache function 0.02 ms
monkeypatch function 0.02 ms

Biggest pieces of work

call test body
accounts/tests.py:460
7 ms

Reliability

14 results · 0 CI failures · 0 local failures

This test hasn't failed recently.

History

Latest 14 results, oldest first in the strip
When Environment Outcome Duration Commit
2 weeks ago CI github-actions:test passed 8 ms 28600ed main Profile
2 weeks, 5 days ago CI github-actions:test passed 10 ms 600b717 main Profile
2 weeks, 6 days ago CI github-actions:test passed 19 ms c28a326 main Profile
3 weeks ago CI github-actions:test passed 21 ms 9b8826a main Profile
3 weeks ago CI github-actions:test passed 9 ms 4f01055 main Profile
1 month ago CI github-actions:test passed 13 ms 8ab642e main Profile
1 month ago CI github-actions:test passed 11 ms 9b75244 main Profile
1 month ago CI github-actions:test passed 6 ms 9603516 main Profile
1 month, 1 week ago CI github-actions:test passed 14 ms 615a272 main Profile
1 month, 1 week ago CI github-actions:test passed 6 ms d923a46 main Profile
1 month, 1 week ago CI github-actions:test passed 18 ms 82997f8 main Profile
1 month, 1 week ago CI github-actions:test passed 25 ms 623aa3e main Profile
1 month, 1 week ago CI github-actions:test passed 37 ms ab6465a main Profile
1 month, 1 week ago CI github-actions:test passed 8 ms 0c23747 main Run