Skip to content

[HttpKernel] Fix CacheWarmerAggregateTest #52111

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 17, 2023

Conversation

alexandre-daubois
Copy link
Member

@alexandre-daubois alexandre-daubois commented Oct 17, 2023

Q A
Branch? 6.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets -
License MIT

#50391 seems to bring broken tests. Particularly, the testWarmupOnOptionalWarmerPassBuildDir test doesn't seem relevant given the actual code of CacheWarmerAggregate. Indeed, nothing in the code is setting buildDir to null when using an optional warmer. I suggest a changes to fix this test on 6.4.

Also for the first one, given optionalsEnabled is enabled, isOptional is never called. I suggest to remove this expectation.

@carsonbot carsonbot added this to the 6.4 milestone Oct 17, 2023
@nicolas-grekas nicolas-grekas merged commit d4b65e4 into symfony:6.4 Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants