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

ClassifyStreaksTest::test_dirty_runs_are_not_the_same_commit

First seen 3 weeks ago in 78a4357
CI github-actions:test 12 runs
Average
11 ms
median 12 ms
max 15 ms
Phases
Setup 9 ms Call 2 ms Teardown 0.14 ms
Categories
Database 10 ms Other (pytest, Unsampled, Libraries, Mocking) 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
setup9 ms84.0%
TestCase.setUpClassdjango/test/testcases.py:1423 cls.cls_atomics = cls._enter_atomics()7 ms65.3%
TestCase._enter_atomicsdjango/test/testcases.py:13967 ms65.3%
Atomic.__enter__django/db/transaction.py:1987 ms65.3%
BaseDatabaseWrapper.get_autocommitdjango/db/backends/base/base.py:4547 ms65.3%
SimpleTestCase.ensure_connection_patch_method.<locals>.patched_ensure_connectiondjango/test/testcases.py:3037 ms65.3%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:267 ms65.3%
BaseDatabaseWrapper.ensure_connectiondjango/db/backends/base/base.py:2797 ms65.3%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:267 ms65.3%
BaseDatabaseWrapper.connectdjango/db/backends/base/base.py:2567 ms65.3%
async_unsafe.<locals>.decorator.<locals>.innerdjango/utils/asyncio.py:267 ms65.3%
DatabaseWrapper.get_new_connectiondjango/db/backends/postgresql/base.py:3337 ms65.3%
Connection.connectpsycopg/connection.py:1096 ms56.0%
wait_connpsycopg/waiting.py:1413 ms28.0%
EpollSelector.select<stdlib>/selectors.py:4523 ms28.0%
wait_connpsycopg/waiting.py:1453 ms28.0%
BaseConnection._connect_genpsycopg/_connection_base.py:4393 ms28.0%
Connection.connectpsycopg/connection.py:1001 ms9.3%
conninfo_attemptspsycopg/_conninfo_attempts.py:451 ms9.3%
_resolve_hostnamespsycopg/_conninfo_attempts.py:1021 ms9.3%
getaddrinfo<stdlib>/socket.py:9981 ms9.3%
Estimated from 9 samples; phase durations are exact. Frames from pytest and pluggy are hidden .

Fixtures

Exact setup time
_unittest_setUpClass_fixture_ClassifyStreaksTest class 8 ms
_django_setup_unittest class 0.26 ms
_template_string_if_invalid_marker function 0.05 ms
_dj_autoclear_mailbox function 0.03 ms
_django_db_marker function 0.03 ms
_live_server_helper function 0.03 ms
_django_set_urlconf function 0.03 ms
_django_clear_site_cache function 0.02 ms
monkeypatch function 0.02 ms

Database

5 queries · 0.79 ms
No repeated queries.

Biggest pieces of work

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