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

TestCrawlerGotosocial::test_auth_gated_directory_caches_unknown_and_skips_misskey_probe

First seen 14 hours ago in 0c23747
CI github-actions:test 4 runs
Average
22 ms
median 21 ms
max 37 ms
Phases
Setup 3 ms Call 18 ms Teardown 0.28 ms
Categories
Other (Waiting, Unsampled, pytest) 22 ms

Needs 44 KB of memory (max 84 KB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 8 hours ago · open run
Show pytest frames
call5 ms84.7%
TestCrawlerGotosocial.test_auth_gated_directory_caches_unknown_and_skips_misskey_probeaccounts/tests.py:460 _, results = self._fetch(cmd, handler)4 ms56.4%
TestCrawlerGotosocial._fetchaccounts/tests.py:444 return async_to_sync(run)()4 ms56.4%
AsyncToSync.__call__asgiref/sync.py:3232 ms28.2%
CurrentThreadExecutor.run_until_futureasgiref/current_thread_executor.py:802 ms28.2%
Condition.wait<stdlib>/threading.py:3632 ms28.2%
AsyncToSync.__call__asgiref/sync.py:2460.91 ms14.1%
__init____init__:-10.91 ms14.1%
Future.__init__<stdlib>/concurrent/futures/_base.py:3260.91 ms14.1%
AsyncToSync.__call__asgiref/sync.py:3210.91 ms14.1%
ThreadPoolExecutor.submit<stdlib>/concurrent/futures/thread.py:2150.91 ms14.1%
ThreadPoolExecutor._adjust_thread_count<stdlib>/concurrent/futures/thread.py:2370.91 ms14.1%
Thread.start<stdlib>/threading.py:11470.91 ms14.1%
Event.wait<stdlib>/threading.py:6640.91 ms14.1%
Condition.wait<stdlib>/threading.py:3630.91 ms14.1%
TestCrawlerGotosocial.test_auth_gated_directory_caches_unknown_and_skips_misskey_probeaccounts/tests.py:4680.91 ms14.1%
TestCrawlerGotosocial._fetchaccounts/tests.py:444 return async_to_sync(run)()0.91 ms14.1%
AsyncToSync.__call__asgiref/sync.py:3210.91 ms14.1%
ThreadPoolExecutor.submit<stdlib>/concurrent/futures/thread.py:2150.91 ms14.1%
ThreadPoolExecutor._adjust_thread_count<stdlib>/concurrent/futures/thread.py:2370.91 ms14.1%
Thread.start<stdlib>/threading.py:11470.91 ms14.1%
Event.wait<stdlib>/threading.py:6640.91 ms14.1%
Condition.wait<stdlib>/threading.py:3630.91 ms14.1%
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
5 ms

Fixtures

Exact setup time
_unittest_setUpClass_fixture_TestCrawlerGotosocial class 0.07 ms
_django_setup_unittest class 0.05 ms
_template_string_if_invalid_marker function 0.03 ms
_django_db_marker function 0.03 ms
_django_isolate_apps function 0.03 ms
_live_server_helper function 0.03 ms
_django_set_urlconf function 0.02 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
5 ms
call pytest internals 0.91 ms

Reliability

5 results · 0 CI failures · 0 local failures

This test hasn't failed recently.

History

Latest 5 results, oldest first in the strip
When Environment Outcome Duration Commit
8 hours ago CI github-actions:test passed 6 ms d923a46 main Profile
8 hours ago CI github-actions:test passed 18 ms 82997f8 main Profile
9 hours ago CI github-actions:test passed 25 ms 623aa3e main Profile
13 hours ago CI github-actions:test passed 37 ms ab6465a main Profile
14 hours ago CI github-actions:test passed 8 ms 0c23747 main Run