Skip to content

[blazor][E2E test] BootResourceCachingTest.IncrementallyUpdatesCache faster #50021

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 3 commits into from
Aug 16, 2023

Conversation

pavelsavara
Copy link
Member

The resource cache, which is in the runtime repo is now purged 10 seconds after application start by default (to not compete for CPU during startup).

PR dotnet/runtime#90264 made the delay configurable via cachedResourcesPurgeDelay.

This PR improves E2E test BootResourceCachingTest.IncrementallyUpdatesCache which is testing that the cache is being purged.

Related #49884 (comment)

This PR will need to wait for the dependency to flow in. Probably on #50019

@pavelsavara pavelsavara added area-blazor Includes: Blazor, Razor Components feature-blazor-wasm This issue is related to and / or impacts Blazor WebAssembly labels Aug 11, 2023
@pavelsavara pavelsavara added this to the 8.0 milestone Aug 11, 2023
@pavelsavara pavelsavara self-assigned this Aug 11, 2023
@pavelsavara pavelsavara requested a review from a team as a code owner August 11, 2023 11:24
Copy link
Member

@MackinnonBuck MackinnonBuck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! 👍

@maraf maraf merged commit c41d451 into dotnet:main Aug 16, 2023
@ghost ghost modified the milestones: 8.0, 9.0-preview1 Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-blazor Includes: Blazor, Razor Components feature-blazor-wasm This issue is related to and / or impacts Blazor WebAssembly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants