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

ClassifyStreaksTest::test_flaky_even_if_the_pass_came_first_and_elsewhere

First seen 3 weeks ago in 78a4357
CI github-actions:test 12 runs
Average
2 ms
median 2 ms
max 3 ms
Phases
Setup 0.58 ms Call 1 ms Teardown 0.13 ms
Categories
Database 1 ms Other (Unsampled, pytest) 1 ms

5 database queries per run

Needs 0 KB of memory (max 0 KB)

Duration per run

Where the time goes

Latest run in ci:github-actions:test, 16 hours ago · open run
Show pytest frames
call1 ms65.3%
TransactionTestCase._post_teardowndjango/test/testcases.py:1240 self._fixture_teardown()1 ms65.3%
TestCase._fixture_teardowndjango/test/testcases.py:14971 ms65.3%
TestCase._rollback_atomicsdjango/test/testcases.py:14051 ms65.3%
Atomic.__exit__django/db/transaction.py:2831 ms65.3%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:261 ms65.3%
BaseDatabaseWrapper.savepoint_rollbackdjango/db/backends/base/base.py:4131 ms65.3%
BaseDatabaseWrapper._savepoint_rollbackdjango/db/backends/base/base.py:3711 ms65.3%
CursorWrapper.executedjango/db/backends/utils.py:791 ms65.3%
CursorWrapper._execute_with_wrappersdjango/db/backends/utils.py:921 ms65.3%
CursorWrapper._executedjango/db/backends/utils.py:1031 ms65.3%
Cursor.executepsycopg/cursor.py:1131 ms65.3%
Connection.waitpsycopg/connection.py:4951 ms65.3%
Estimated from 1 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Fixtures

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

Database

5 queries · 0.66 ms
No repeated queries.

Biggest pieces of work

call _post_teardown
django/test/testcases.py:1240
1 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 2 ms e141198 main Profile
1 week, 5 days ago CI github-actions:test passed 1 ms 46ec2aa main Profile
2 weeks, 1 day ago CI github-actions:test passed 2 ms afde85b main Profile
2 weeks, 1 day ago CI github-actions:test passed 2 ms fe29f9d main Profile
2 weeks, 1 day ago CI github-actions:test passed 3 ms 044719a main Profile
2 weeks, 2 days ago CI github-actions:test passed 1 ms b3fedae main Profile
2 weeks, 4 days ago CI github-actions:test passed 3 ms 43c4eda main Profile
2 weeks, 6 days ago CI github-actions:test passed 3 ms 9caa567 main Profile
2 weeks, 6 days ago CI github-actions:test passed 3 ms ec75501 main Profile
3 weeks ago CI github-actions:test passed 3 ms d2c12e5 main Profile
3 weeks ago CI github-actions:test passed 1 ms 0b902f6 main Profile
3 weeks ago CI github-actions:test passed 2 ms 78a4357 main Profile