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

McpTest::test_ping

First seen 1 month, 1 week ago in 78a4357
CI github-actions:test 15 runs
Average
35 ms
median 36 ms
max 58 ms
Phases
Setup 0.61 ms Call 34 ms Teardown 0.15 ms
Categories
Database 6 ms Other (Libraries, Unsampled, pytest, Serialization) 29 ms

7 database queries per run

Needs 122 KB of memory (max 368 KB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 2 weeks ago · open run
Show pytest frames
call29 ms98.0%
McpTest.test_pingapps/mcp/tests.py:110 self.assertEqual(self.rpc("ping")["result"], {})25 ms84.0%
McpTest.rpcapps/mcp/tests.py:7525 ms84.0%
McpTest.postapps/mcp/tests.py:67 return self.client.post(25 ms84.0%
Client.postdjango/test/client.py:115325 ms84.0%
RequestFactory.postdjango/test/client.py:49925 ms84.0%
RequestFactory.genericdjango/test/client.py:67125 ms84.0%
Client.requestdjango/test/client.py:108225 ms84.0%
ClientHandler.__call__django/test/client.py:17325 ms84.0%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6225 ms84.0%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10425 ms84.0%
WhiteNoise.add_fileswhitenoise/base.py:10825 ms84.0%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12021 ms70.0%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13121 ms70.0%
WhiteNoise.get_static_filewhitenoise/base.py:20819 ms63.0%
StaticFile.__init__whitenoise/responders.py:764 ms14.0%
StaticFile.get_not_modified_responsewhitenoise/responders.py:1892 ms7.0%
Headers.__getitem__<stdlib>/wsgiref/headers.py:832 ms7.0%
StaticFile.__init__whitenoise/responders.py:774 ms14.0%
StaticFile.get_alternativeswhitenoise/responders.py:2004 ms14.0%
__init____init__:-12 ms7.0%
StaticFile.__init__whitenoise/responders.py:724 ms14.0%
StaticFile.get_file_statswhitenoise/responders.py:1612 ms7.0%
StaticFile.__init__whitenoise/responders.py:742 ms7.0%
Headers.__getitem__<stdlib>/wsgiref/headers.py:832 ms7.0%
StaticFile.__init__whitenoise/responders.py:732 ms7.0%
WhiteNoise.get_static_filewhitenoise/base.py:2032 ms7.0%
WhiteNoise.add_cache_headerswhitenoise/base.py:2272 ms7.0%
WhiteNoise.update_files_dictionarywhitenoise/base.py:1154 ms14.0%
scantreewhitenoise/base.py:2624 ms14.0%
scantreewhitenoise/base.py:2624 ms14.0%
scantreewhitenoise/base.py:2642 ms7.0%
TransactionTestCase._post_teardowndjango/test/testcases.py:1240 self._fixture_teardown()4 ms14.0%
TestCase._fixture_teardowndjango/test/testcases.py:14952 ms7.0%
DatabaseWrapper.check_constraintsdjango/db/backends/postgresql/base.py:4832 ms7.0%
CursorWrapper.executedjango/db/backends/utils.py:792 ms7.0%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms7.0%
CursorWrapper._executedjango/db/backends/utils.py:1032 ms7.0%
Cursor.executepsycopg/cursor.py:1132 ms7.0%
Connection.waitpsycopg/connection.py:4952 ms7.0%
TestCase._fixture_teardowndjango/test/testcases.py:14972 ms7.0%
TestCase._rollback_atomicsdjango/test/testcases.py:14052 ms7.0%
Atomic.__exit__django/db/transaction.py:2862 ms7.0%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:262 ms7.0%
BaseDatabaseWrapper.savepoint_commitdjango/db/backends/base/base.py:4312 ms7.0%
BaseDatabaseWrapper._savepoint_commitdjango/db/backends/base/base.py:3752 ms7.0%
CursorWrapper.executedjango/db/backends/utils.py:792 ms7.0%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:922 ms7.0%
CursorWrapper._executedjango/db/backends/utils.py:1032 ms7.0%
Cursor.executepsycopg/cursor.py:1132 ms7.0%
Connection.waitpsycopg/connection.py:4952 ms7.0%
Estimated from 14 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Hot lines in your code

apps/mcp/tests.py:67
return self.client.post(
McpTest.post · Libraries
25 ms

Fixtures

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

Database

7 queries · 2 ms
No repeated queries.

Biggest pieces of work

call test body
apps/mcp/tests.py:110
25 ms
call _post_teardown
django/test/testcases.py:1240
4 ms

Reliability

15 results · 0 CI failures · 0 local failures

This test hasn't failed recently.

History

Latest 15 results, oldest first in the strip
When Environment Outcome Duration Commit
2 weeks ago CI github-actions:test passed 30 ms cb18ed3 main Profile
2 weeks, 4 days ago CI github-actions:test passed 39 ms 9bd5864 main Profile
2 weeks, 6 days ago CI github-actions:test passed 17 ms 19dac9b main Profile
3 weeks ago CI github-actions:test passed 36 ms e141198 main Profile
1 month ago CI github-actions:test passed 22 ms 46ec2aa main Profile
1 month ago CI github-actions:test passed 44 ms afde85b main Profile
1 month ago CI github-actions:test passed 32 ms fe29f9d main Profile
1 month ago CI github-actions:test passed 58 ms 044719a main Profile
1 month ago CI github-actions:test passed 23 ms b3fedae main Profile
1 month, 1 week ago CI github-actions:test passed 40 ms 43c4eda main Profile
1 month, 1 week ago CI github-actions:test passed 38 ms 9caa567 main Profile
1 month, 1 week ago CI github-actions:test passed 43 ms ec75501 main Profile
1 month, 1 week ago CI github-actions:test passed 42 ms d2c12e5 main Profile
1 month, 1 week ago CI github-actions:test passed 18 ms 0b902f6 main Profile
1 month, 1 week ago CI github-actions:test passed 36 ms 78a4357 main Profile