flakytest.dev anze3db flakytest
Tests / apps/projects/tests.py

RealProfileDocumentTest::test_entry_details

First seen 9 hours ago in 78a4357
CI github-actions:test 5 runs
Average
8 ms
median 9 ms
max 10 ms
Phases
Setup 0.76 ms Call 7 ms Teardown 0.33 ms
Categories
Database 2 ms Other (Deep copies, Unsampled, Libraries) 6 ms

5 database queries per run

Needs 2 KB of memory (max 8 KB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 2 hours ago · open run
Show pytest frames
call8 ms86.3%
RealProfileDocumentTest.test_entry_detailsapps/projects/tests.py:895 entry = find_test_entry(self.local_document, self.nodeid)4 ms43.1%
TestData.__get__django/test/testcases.py:13674 ms43.1%
deepcopy<stdlib>/copy.py:1314 ms43.1%
_deepcopy_dict<stdlib>/copy.py:2024 ms43.1%
deepcopy<stdlib>/copy.py:1314 ms43.1%
_deepcopy_list<stdlib>/copy.py:1774 ms43.1%
deepcopy<stdlib>/copy.py:1314 ms43.1%
TransactionTestCase._post_teardowndjango/test/testcases.py:1240 self._fixture_teardown()4 ms43.1%
TestCase._fixture_teardowndjango/test/testcases.py:14954 ms43.1%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4834 ms43.1%
CursorWrapper.executedjango/db/backends/utils.py:794 ms43.1%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:924 ms43.1%
CursorWrapper._executedjango/db/backends/utils.py:1034 ms43.1%
Cursor.executepsycopg/cursor.py:1134 ms43.1%
Connection.waitpsycopg/connection.py:4954 ms43.1%
Estimated from 4 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Hot lines in your code

apps/projects/tests.py:895
entry = find_test_entry(self.local_document, self.nodeid)
RealProfileDocumentTest.test_entry_details · Deep copies
4 ms

Fixtures

Exact setup time
_django_db_marker function 0.06 ms
_dj_autoclear_mailbox function 0.05 ms
_live_server_helper function 0.05 ms
_template_string_if_invalid_marker function 0.05 ms
_django_set_urlconf function 0.05 ms
_django_clear_site_cache function 0.03 ms
monkeypatch function 0.03 ms

Database

5 queries · 3 ms
No repeated queries.

Biggest pieces of work

call test body
apps/projects/tests.py:895
4 ms
call _post_teardown
django/test/testcases.py:1240
4 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
2 hours ago CI github-actions:test passed 9 ms 9caa567 main Profile
2 hours ago CI github-actions:test passed 9 ms ec75501 main Profile
9 hours ago CI github-actions:test passed 10 ms d2c12e5 main Profile
9 hours ago CI github-actions:test passed 4 ms 0b902f6 main Profile
9 hours ago CI github-actions:test passed 10 ms 78a4357 main Profile