Skip to content

Tests freeze while running when using code coverage report #1041

Open
@max-paqt

Description

@max-paqt
Q A
php-code-coverage version 9.2.31
PHP version 8.2.21
Driver Xdebug
Xdebug version (if used) 3.3.2
Installation Method Composer
Usage Method PHPUnit
PHPUnit version (if used) 9.6.18

When running our test suite phpunit consistently freezes after running ~1500 of the ~2000 tests.

When running with -vvv the only output indicates the last (before freezing) test started, and nothing else.

I tried a few different versions of phpunit, but it didn't improve things.

Running the suite while having code coverage disabled, this issue does not occur.

How could we debug this issue?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions