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

TestCrawlerGotosocial::test_open_directory_on_non_gotosocial_leaves_uri_missing

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

Needs 21 KB of memory (max 48 KB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 7 hours ago · open run
Show pytest frames
setup3 ms38.2%
__init____init__:-11 ms19.1%
signature<stdlib>/inspect.py:33431 ms19.1%
Signature.from_callable<stdlib>/inspect.py:30581 ms19.1%
_signature_from_callable<stdlib>/inspect.py:25281 ms19.1%
isasyncgenfunction<stdlib>/inspect.py:344 return _has_code_flag(obj, CO_ASYNC_GENERATOR)1 ms19.1%
_has_code_flag<stdlib>/inspect.py:2991 ms19.1%
isfunction<stdlib>/inspect.py:2881 ms19.1%
call4 ms57.4%
TestCrawlerGotosocial.test_open_directory_on_non_gotosocial_leaves_uri_missingaccounts/tests.py:520 _, results = self._fetch(cmd, handler)2 ms28.7%
TestCrawlerGotosocial._fetchaccounts/tests.py:444 return async_to_sync(run)()2 ms28.7%
AsyncToSync.__call__asgiref/sync.py:3212 ms28.7%
ThreadPoolExecutor.submit<stdlib>/concurrent/futures/thread.py:2152 ms28.7%
ThreadPoolExecutor._adjust_thread_count<stdlib>/concurrent/futures/thread.py:2372 ms28.7%
Thread.start<stdlib>/threading.py:11482 ms28.7%
Event.wait<stdlib>/threading.py:6652 ms28.7%
Condition.wait<stdlib>/threading.py:3632 ms28.7%
teardown0.29 ms4.3%
Estimated from 5 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
2 ms

Fixtures

Exact setup time
_django_set_urlconf function 1 ms
_template_string_if_invalid_marker function 0.08 ms
_live_server_helper function 0.07 ms
_django_db_marker function 0.07 ms
_django_isolate_apps function 0.06 ms
monkeypatch function 0.05 ms
_dj_autoclear_mailbox function 0.04 ms
_django_clear_site_cache function 0.04 ms

Biggest pieces of work

call pytest internals 2 ms
call test body
accounts/tests.py:520
2 ms
setup __init__
__init__:-1
1 ms
setup isasyncgenfunction
<stdlib>/inspect.py:344
1 ms
teardown pytest internals 0.29 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 7 ms c28a326 main Profile
16 hours ago CI github-actions:test passed 4 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 4 ms 8ab642e main Profile
2 weeks, 2 days ago CI github-actions:test passed 7 ms 9b75244 main Profile
2 weeks, 2 days ago CI github-actions:test passed 3 ms 9603516 main Profile
2 weeks, 4 days ago CI github-actions:test passed 5 ms 615a272 main Profile
3 weeks ago CI github-actions:test passed 3 ms d923a46 main Profile
3 weeks ago CI github-actions:test passed 8 ms 82997f8 main Profile
3 weeks ago CI github-actions:test passed 18 ms 623aa3e main Profile
3 weeks ago CI github-actions:test passed 10 ms ab6465a main Profile
3 weeks ago CI github-actions:test passed 2 ms 0c23747 main Run