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

McpTest::test_batch

First seen 3 weeks ago in 78a4357
CI github-actions:test 12 runs
Average
36 ms
median 38 ms
max 55 ms
Phases
Setup 0.71 ms Call 35 ms Teardown 0.17 ms
Categories
Database 11 ms Other (Libraries, Unsampled, pytest) 25 ms

7 database queries per run

Needs 63 KB of memory (max 724 KB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 16 hours ago · open run
Show pytest frames
call37 ms97.7%
McpTest.test_batchapps/mcp/tests.py:152 response = self.post(37 ms97.7%
McpTest.postapps/mcp/tests.py:67 return self.client.post(37 ms97.7%
Client.postdjango/test/client.py:115337 ms97.7%
RequestFactory.postdjango/test/client.py:49937 ms97.7%
RequestFactory.genericdjango/test/client.py:67137 ms97.7%
Client.requestdjango/test/client.py:108237 ms97.7%
ClientHandler.__call__django/test/client.py:17337 ms97.7%
BaseHandler.load_middlewaredjango/core/handlers/base.py:6237 ms97.7%
WhiteNoiseMiddleware.__init__whitenoise/middleware.py:10437 ms97.7%
WhiteNoise.add_fileswhitenoise/base.py:10837 ms97.7%
WhiteNoise.update_files_dictionarywhitenoise/base.py:12026 ms69.8%
WhiteNoise.add_file_to_dictionarywhitenoise/base.py:13116 ms41.9%
WhiteNoise.get_static_filewhitenoise/base.py:20816 ms41.9%
StaticFile.__init__whitenoise/responders.py:7211 ms27.9%
StaticFile.get_file_statswhitenoise/responders.py:16311 ms27.9%
<GC>~11 ms27.9%
StaticFile.__init__whitenoise/responders.py:775 ms14.0%
StaticFile.get_alternativeswhitenoise/responders.py:2005 ms14.0%
__init____init__:-15 ms14.0%
WhiteNoise.update_files_dictionarywhitenoise/base.py:11511 ms27.9%
scantreewhitenoise/base.py:26211 ms27.9%
scantreewhitenoise/base.py:26211 ms27.9%
scantreewhitenoise/base.py:2625 ms14.0%
scantreewhitenoise/base.py:2625 ms14.0%
scantreewhitenoise/base.py:2625 ms14.0%
scantreewhitenoise/base.py:2605 ms14.0%
scantreewhitenoise/base.py:2645 ms14.0%
Estimated from 7 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
37 ms

Fixtures

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

Database

7 queries · 4 ms
No repeated queries.

Biggest pieces of work

call test body
apps/mcp/tests.py:152
37 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
16 hours ago CI github-actions:test passed 38 ms e141198 main Profile
1 week, 5 days ago CI github-actions:test passed 20 ms 46ec2aa main Profile
2 weeks, 1 day ago CI github-actions:test passed 40 ms afde85b main Profile
2 weeks, 1 day ago CI github-actions:test passed 36 ms fe29f9d main Profile
2 weeks, 1 day ago CI github-actions:test passed 55 ms 044719a main Profile
2 weeks, 2 days ago CI github-actions:test passed 24 ms b3fedae main Profile
2 weeks, 4 days ago CI github-actions:test passed 39 ms 43c4eda main Profile
2 weeks, 6 days ago CI github-actions:test passed 40 ms 9caa567 main Profile
2 weeks, 6 days ago CI github-actions:test passed 38 ms ec75501 main Profile
3 weeks ago CI github-actions:test passed 42 ms d2c12e5 main Profile
3 weeks ago CI github-actions:test passed 19 ms 0b902f6 main Profile
3 weeks ago CI github-actions:test passed 37 ms 78a4357 main Profile