Tests / fedidevs/tests.py
TestRetryingPostgresBackend::test_does_not_retry_other_errors
First seen 2 weeks ago in 28600ed
CI
github-actions:test
1 run
Average
3 ms
median 3 ms
max 3 ms
max 3 ms
Phases
Setup 1 ms
Call 1 ms
Teardown 0.26 ms
Categories
Other (Mocking, pytest, Unsampled) 3 ms
Needs 4 KB of memory (max 4 KB)
Duration per run
Where the time goes
Latest run in ci:github-actions:test, 2 weeks ago ·
open run
setup1 ms42.0%
call1 ms48.7%
TestRetryingPostgresBackend.test_does_not_retry_other_errorsfedidevs/tests.py:225 self.assertRaises(psycopg.OperationalError),1 ms48.7%
clear_frames<stdlib>/traceback.py:3081 ms48.7%
SysMonitor.sysmon_py_startcoverage/sysmon.py:345 disp = self.should_trace(filename, frame) # type: ignore[arg-type]1 ms48.7%
Coverage._should_tracecoverage/control.py:4521 ms48.7%
InOrOut.should_tracecoverage/inorout.py:4011 ms48.7%
canonical_filenamecoverage/files.py:851 ms48.7%
abs_filecoverage/files.py:1581 ms48.7%
realpath<frozen posixpath>:4601 ms48.7%
Estimated from 3 samples; phase durations are exact. Frames from pytest and pluggy are
hidden
.
Hot lines in your code
|
fedidevs/tests.py:225
self.assertRaises(psycopg.OperationalError),
TestRetryingPostgresBackend.test_does_not_retry_other_errors
· Mocking
|
1 ms |
Fixtures
Exact setup time| _unittest_setUpClass_fixture_TestRetryingPostgresBackend class | 0.09 ms |
| _django_setup_unittest class | 0.07 ms |
| _template_string_if_invalid_marker function | 0.03 ms |
| _dj_autoclear_mailbox 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 |
| _django_clear_site_cache function | 0.02 ms |
| monkeypatch function | 0.02 ms |
Biggest pieces of work
|
call test body
fedidevs/tests.py:225
|
1 ms |
| setup pytest internals | 1 ms |
Reliability
1 result · 0 CI failures · 0 local failuresThis test hasn't failed recently.
History
Latest 1 result, oldest first in the strip| When | Environment | Outcome | Duration | |
|---|---|---|---|---|
| 2 weeks ago | CI github-actions:test | passed | 3 ms | Profile |