Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[4.4] Tests slow after updating to 4.4 #34567

Copy link
Copy link
Closed
@ro0NL

Description

@ro0NL
Issue body actions

Symfony version(s) affected: 4.4

Somehow our testsuite became extremely slow after updating to 4.4. It's a regular API platform setup, using hautelook fixtures. So DB is reloaded on every test.

In the var/cache/test it seems to boot/cache a compiled container container per testcase. If i abort after first testcase, and then restart the testsuite it seems to pick up the existing container.

Moreover, the behavior is exposed using:

# FAST
rm -rf var/cache/test
bin/phpunit

# SLOW
rm -rf var/cache/test
bin/console c:c -e test
bin/phpunit

# ALSO SLOW
rm -rf var/cache/test
bin/console c:c --no-warmup -e test
bin/phpunit

Im not sure where to look for now, hints welcome :) i've updated all recipes etc. so everything is "latest 4.4".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.