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

TestRetryingPostgresBackend::test_does_not_retry_other_errors

First seen 2 weeks ago in 28600ed
No profiled runs of this test in the last 1 days. Run pytest --flakytest-profile to see where its time goes.

Where the time goes

Latest run in ci:github-actions:test, 2 weeks ago · open run
Hide pytest frames
setup1 ms42.0%
CallInfo.from_call_pytest/runner.py:3611 ms42.0%
call_and_report.<locals>.<lambda>_pytest/runner.py:2501 ms42.0%
HookCaller.__call__pluggy/_hooks.py:5121 ms42.0%
PluginManager._hookexecpluggy/_manager.py:1201 ms42.0%
_multicallpluggy/_callers.py:1161 ms42.0%
CaptureManager.pytest_runtest_setup_pytest/capture.py:8941 ms42.0%
_GeneratorContextManager.__enter__<stdlib>/contextlib.py:2031 ms42.0%
CaptureManager.item_capture_pytest/capture.py:8591 ms42.0%
CaptureManager.resume_global_capture_pytest/capture.py:7861 ms42.0%
MultiCapture.resume_capturing_pytest/capture.py:6811 ms42.0%
FDCaptureBase.resume_pytest/capture.py:5551 ms42.0%
call1 ms48.7%
CallInfo.from_call_pytest/runner.py:3611 ms48.7%
call_and_report.<locals>.<lambda>_pytest/runner.py:2501 ms48.7%
HookCaller.__call__pluggy/_hooks.py:5121 ms48.7%
PluginManager._hookexecpluggy/_manager.py:1201 ms48.7%
_multicallpluggy/_callers.py:1211 ms48.7%
pytest_runtest_call_pytest/runner.py:1841 ms48.7%
_django_setup_unittest.<locals>.non_debugging_runtestpytest_django/plugin.py:6141 ms48.7%
SimpleTestCase.__call__django/test/testcases.py:3141 ms48.7%
SimpleTestCase._setup_and_calldjango/test/testcases.py:3691 ms48.7%
TestCase.__call__<stdlib>/unittest/case.py:7471 ms48.7%
TestCase.run<stdlib>/unittest/case.py:6911 ms48.7%
TestCase._callTestMethod<stdlib>/unittest/case.py:6371 ms48.7%
_patch.decorate_callable.<locals>.patched<stdlib>/unittest/mock.py:14391 ms48.7%
TestRetryingPostgresBackend.test_does_not_retry_other_errorsfedidevs/tests.py:225 self.assertRaises(psycopg.OperationalError),1 ms48.7%
_AssertRaisesContext.__exit__<stdlib>/unittest/case.py:2721 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 shown .

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 failures

This test hasn't failed recently.

History

Latest 1 result, oldest first in the strip
When Environment Outcome Duration Commit
2 weeks ago CI github-actions:test passed 3 ms 28600ed main Profile